Skip to content

Commit

Permalink
version 1.84.0
Browse files Browse the repository at this point in the history
  • Loading branch information
apotocki committed Dec 18, 2023
1 parent 1a773ca commit 8b95151
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ This repo provides a universal script for building static Boost C++ libraries fo
The latest supported Boost version is taken from: https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.bz2

## Building libraries
atomic, chrono, cobalt, container, context, contract, coroutine, date_time, exception, fiber, filesystem, graph, iostreams, json, locale, log, math, nowide, program_options, random, regex, serialization, stacktrace, system, test, thread, timer, type_erasure, url, wave
atomic, chrono, container, context, contract, coroutine, date_time, exception, fiber, filesystem, graph, iostreams, json, locale, log, math, nowide, program_options, random, regex, serialization, stacktrace, system, test, thread, timer, type_erasure, url, wave

## Not building libraries
graph_parallel, mpi, python
graph_parallel, mpi, python, cobalt

## Prerequisites
1) Xcode must be installed because xcodebuild is used to create xcframeworks
Expand Down Expand Up @@ -39,7 +39,7 @@ graph_parallel, mpi, python
use_frameworks!
pod 'boost-iosx', '~> 1.84.0'
# or optionally more precisely e.g.:
# pod 'boost-iosx', :git => 'https://github.com/apotocki/boost-iosx', :tag => '1.84.0.0'
# pod 'boost-iosx', :git => 'https://github.com/apotocki/boost-iosx', :tag => '1.84.0.1'
```
If you want to use particular boost libraries, specify them as in the following example for log and program_options libraries:
```
Expand Down
13 changes: 7 additions & 6 deletions boost-iosx.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "boost-iosx"
s.version = "1.84.0.0"
s.version = "1.84.0.1"
s.summary = "Boost C++ libraries"
s.homepage = "https://github.com/apotocki/boost-iosx"
s.license = "Boost Software License"
Expand All @@ -19,9 +19,10 @@ Pod::Spec.new do |s|

s.default_subspec = "all"

#, "frameworks/boost_cobalt.xcframework"
s.subspec 'all' do |ss|
ss.source_files = "frameworks/Headers/**/*.{h,hpp,ipp}"
ss.vendored_frameworks = "frameworks/boost_atomic.xcframework", "frameworks/boost_chrono.xcframework", "frameworks/boost_cobalt.xcframework", "frameworks/boost_container.xcframework", "frameworks/boost_context.xcframework", "frameworks/boost_contract.xcframework", "frameworks/boost_coroutine.xcframework", "frameworks/boost_date_time.xcframework", "frameworks/boost_exception.xcframework", "frameworks/boost_fiber.xcframework", "frameworks/boost_filesystem.xcframework", "frameworks/boost_graph.xcframework", "frameworks/boost_iostreams.xcframework", "frameworks/boost_json.xcframework", "frameworks/boost_locale.xcframework", "frameworks/boost_log.xcframework", "frameworks/boost_log_setup.xcframework", "frameworks/boost_nowide.xcframework", "frameworks/boost_program_options.xcframework", "frameworks/boost_random.xcframework", "frameworks/boost_regex.xcframework", "frameworks/boost_serialization.xcframework", "frameworks/boost_stacktrace_basic.xcframework", "frameworks/boost_prg_exec_monitor.xcframework", "frameworks/boost_test_exec_monitor.xcframework", "frameworks/boost_unit_test_framework.xcframework", "frameworks/boost_thread.xcframework", "frameworks/boost_timer.xcframework", "frameworks/boost_type_erasure.xcframework", "frameworks/boost_system.xcframework", "frameworks/boost_url.xcframework", "frameworks/boost_wave.xcframework"
ss.vendored_frameworks = "frameworks/boost_atomic.xcframework", "frameworks/boost_chrono.xcframework", "frameworks/boost_container.xcframework", "frameworks/boost_context.xcframework", "frameworks/boost_contract.xcframework", "frameworks/boost_coroutine.xcframework", "frameworks/boost_date_time.xcframework", "frameworks/boost_exception.xcframework", "frameworks/boost_fiber.xcframework", "frameworks/boost_filesystem.xcframework", "frameworks/boost_graph.xcframework", "frameworks/boost_iostreams.xcframework", "frameworks/boost_json.xcframework", "frameworks/boost_locale.xcframework", "frameworks/boost_log.xcframework", "frameworks/boost_log_setup.xcframework", "frameworks/boost_nowide.xcframework", "frameworks/boost_program_options.xcframework", "frameworks/boost_random.xcframework", "frameworks/boost_regex.xcframework", "frameworks/boost_serialization.xcframework", "frameworks/boost_stacktrace_basic.xcframework", "frameworks/boost_prg_exec_monitor.xcframework", "frameworks/boost_test_exec_monitor.xcframework", "frameworks/boost_unit_test_framework.xcframework", "frameworks/boost_thread.xcframework", "frameworks/boost_timer.xcframework", "frameworks/boost_type_erasure.xcframework", "frameworks/boost_system.xcframework", "frameworks/boost_url.xcframework", "frameworks/boost_wave.xcframework"
end

s.subspec 'atomic' do |ss|
Expand All @@ -32,10 +33,10 @@ Pod::Spec.new do |s|
ss.source_files = "frameworks/Headers/**/*.{h,hpp,ipp}"
ss.vendored_frameworks = "frameworks/boost_chrono.xcframework"
end
s.subspec 'cobalt' do |ss|
ss.source_files = "frameworks/Headers/**/*.{h,hpp,ipp}"
ss.vendored_frameworks = "frameworks/boost_cobalt.xcframework"
end
#s.subspec 'cobalt' do |ss|
# ss.source_files = "frameworks/Headers/**/*.{h,hpp,ipp}"
# ss.vendored_frameworks = "frameworks/boost_cobalt.xcframework"
#end
s.subspec 'container' do |ss|
ss.source_files = "frameworks/Headers/**/*.{h,hpp,ipp}"
ss.vendored_frameworks = "frameworks/boost_container.xcframework"
Expand Down
5 changes: 3 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ fi
patch tools/build/src/tools/features/instruction-set-feature.jam $SCRIPT_DIR/instruction-set-feature.jam.patch


LIBS_TO_BUILD="--with-atomic --with-chrono --with-cobalt --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave --with-url"
# --with-cobalt
LIBS_TO_BUILD="--with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave --with-url"

B2_BUILD_OPTIONS="-j$THREAD_COUNT address-model=64 release link=static runtime-link=shared define=BOOST_SPIRIT_THREADSAFE cxxflags=\"-std=c++20\""

Expand Down Expand Up @@ -266,7 +267,7 @@ build_xcframework()
if true; then
build_xcframework boost_atomic
build_xcframework boost_chrono
build_xcframework boost_cobalt
#build_xcframework boost_cobalt
build_xcframework boost_container
build_xcframework boost_context
build_xcframework boost_contract
Expand Down

0 comments on commit 8b95151

Please sign in to comment.