Skip to content

Instantly share code, notes, and snippets.

@beamerblvd
Created January 16, 2025 20:56
Show Gist options
  • Select an option

  • Save beamerblvd/5bbc952d8ece4a44e38df8630837114a to your computer and use it in GitHub Desktop.

Select an option

Save beamerblvd/5bbc952d8ece4a44e38df8630837114a to your computer and use it in GitHub Desktop.
$ cat {dir}/user-config.jam:
constant BOOST_VERSION : mybranchname-1.87.0.a ;
using gcc : 13 : g++ : <cxxflags>-fvisibility=hidden <cxxflags>-fvisibility-inlines-hidden ;
$ cat {dir}/_src/project-config.jam
# B2 Configuration
# Automatically generated by bootstrap.sh
import option ;
import feature ;
# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! gcc in [ feature.values <toolset> ]
{
using gcc ;
}
project : default-build <toolset>gcc ;
# Python configuration
import python ;
if ! [ python.configured ]
{
using python : 3.12 : "{virtualenv directory path}" ;
}
# List of --with-<library> and --without-<library>
# options. If left empty, all libraries will be built.
# Options specified on the command line completely
# override this variable.
libraries = ;
# These settings are equivalent to corresponding command-line
# options.
option.set prefix : /usr/local ;
option.set exec-prefix : /usr/local ;
option.set libdir : /usr/local/lib ;
option.set includedir : /usr/local/include ;
# Stop on first error
option.set keep-going : false ;
$ b2 \
-sBOOST_ROOT={dir}/_src \
--boost-build=tools/build/src \
cxxstd=20 \
-d \
2 \
-j \
2 \
-q \
--prefix={dir} \
--build-dir={dir}/shobj \
--stagedir={dir}/stage \
--user-config={dir}/user-config.jam \
--layout=system \
toolset=gcc \
threading=multi \
link=shared \
architecture=x86 \
instruction-set=nocona \
address-model=64 \
--without-python \
--disable-icu \
variant=release
Performing configuration checks
- default address-model : 64-bit [1]
- default architecture : x86 [1]
Building the Boost C++ Libraries.
- symlinks supported : yes
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam.
note: to suppress this message, pass "--without-graph_parallel" to bjam.
- icu : no [2]
- iconv (libc) : yes [2]
- cxx11_auto_declarations : yes [2]
- cxx11_decltype : yes [2]
- cxx11_defaulted_functions : yes [2]
- cxx11_defaulted_moves : yes [2]
- cxx11_hdr_functional : yes [2]
- cxx11_hdr_type_traits : yes [2]
- cxx11_noexcept : yes [2]
- cxx11_nullptr : yes [2]
- cxx11_override : yes [2]
- cxx11_range_based_for : yes [2]
- cxx11_rvalue_references : yes [2]
- cxx11_scoped_enums : yes [2]
- cxx11_smart_ptr : yes [2]
- cxx11_static_assert : yes [2]
- cxx11_variadic_templates : yes [2]
- native atomic int32 supported : yes [2]
- native syslog supported : yes [2]
- pthread supports robust mutexes : yes [2]
- Boost.Regex is header-only : yes [2]
- compiler supports SSE2 : yes [2]
- compiler supports SSE4.1 : yes [2]
- has std::atomic_ref : yes [2]
- has -Wl,--no-undefined : yes [2]
- has statx : yes [2]
- cxx11_deleted_functions : yes [2]
- cxx11_function_template_default_args : yes [2]
- cxx11_final : yes [2]
- has init_priority attribute : yes [2]
- has stat::st_blksize : yes [2]
- has stat::st_mtim : yes [2]
- has stat::st_mtimensec : no [2]
- has stat::st_mtimespec : no [2]
- has stat::st_birthtim : no [2]
- has stat::st_birthtimensec : no [2]
- has stat::st_birthtimespec : no [2]
- has fdopendir(O_NOFOLLOW) : yes [2]
- has dirent::d_type : yes [2]
- has POSIX *at APIs : yes [2]
- has fallocate : yes [2]
- lockfree boost::atomic_flag : yes [2]
- cxx11_hdr_ratio : yes [2]
- cxx11_template_aliases : yes [2]
- cxx11_char16_t : yes [2]
- cxx11_char32_t : yes [2]
- compiler supports SSSE3 : yes [2]
- compiler supports AVX2 : yes [2]
- cxx11_lambdas : yes [2]
- cxx11_constexpr : yes [2]
- Has Large File Support : yes [2]
- Has attribute init_priority : yes [2]
- has_icu builds : no [2]
- std_wstreambuf builds : yes [2]
- std_wstreambuf : yes [2]
- BOOST_COMP_GNUC >= 4.3.0 : yes [2]
- BOOST_COMP_GNUC >= 4.3.0 : yes [3]
- cxx11_hdr_thread : yes [2]
- cxx11_hdr_mutex : yes [2]
- cxx11_hdr_regex : yes [2]
- cxx11_hdr_tuple : yes [2]
- addr2line builds : yes [2]
- cxx11_rvalue_references : yes [3]
- libbacktrace builds : yes [2]
- WinDbg builds : no [2]
- cxx11_rvalue_references : yes [4]
- WinDbg builds : no [4]
- WinDbgCached builds : no [2]
- WinDbgCached builds : no [4]
- sfinae_expr : yes [2]
- cxx11_unified_initialization_syntax : yes [2]
- cxx11_hdr_initializer_list : yes [2]
- cxx11_hdr_chrono : yes [2]
- cxx11_thread_local : yes [2]
- cxx11_numeric_limits : yes [2]
- cxx11_hdr_array : yes [2]
- cxx11_hdr_atomic : yes [2]
- cxx11_allocator : yes [2]
- cxx11_explicit_conversion_operators : yes [2]
- BOOST_ARCH_WORD_BITS == 0.0.16 : no [5]
- BOOST_ARCH_WORD_BITS == 0.0.32 : no [5]
- BOOST_ARCH_WORD_BITS == 0.0.64 : yes [5]
- BOOST_ARCH_X86 : yes [5]
- BOOST_ARCH_IA64 : no [5]
- BOOST_ARCH_SPARC : no [5]
- BOOST_ARCH_PPC : no [5]
- BOOST_ARCH_LOONGARCH : no [5]
- BOOST_ARCH_MIPS : no [5]
- BOOST_ARCH_PARISC : no [5]
- BOOST_ARCH_ARM : no [5]
- BOOST_ARCH_RISCV : no [5]
- BOOST_ARCH_SYS390 : no [5]
- has std::atomic_ref : yes [5]
- has -Wl,--no-undefined : yes [5]
- has statx : yes [5]
- cxx11_rvalue_references : yes [5]
- cxx11_scoped_enums : yes [5]
- cxx11_noexcept : yes [5]
- cxx11_nullptr : yes [5]
- cxx11_defaulted_functions : yes [5]
- cxx11_defaulted_moves : yes [5]
- cxx11_deleted_functions : yes [5]
- cxx11_function_template_default_args : yes [5]
- cxx11_final : yes [5]
- cxx11_override : yes [5]
- has init_priority attribute : yes [5]
- has stat::st_blksize : yes [5]
- has stat::st_mtim : yes [5]
- has stat::st_mtimensec : no [5]
- has stat::st_mtimespec : no [5]
- has stat::st_birthtim : no [5]
- has stat::st_birthtimensec : no [5]
- has stat::st_birthtimespec : no [5]
- has fdopendir(O_NOFOLLOW) : yes [5]
- has dirent::d_type : yes [5]
- has POSIX *at APIs : yes [5]
- has fallocate : yes [5]
error: No best alternative for {dir}/_src/libs/mpi/build/boost_mpi with <abi>sysv <address-model>64 <architecture>x86 <asynch-exceptions>off <binary-format>elf <boost.beast.allow-deprecated>on <boost.beast.separate-compilation>on <boost.cobalt.executor>any_io_executor <boost.cobalt.pmr>std <context-impl>fcontext <coverage>off <cxxstd-dialect>iso <cxxstd>20 <debug-symbols>off <exception-handling>on <extern-c-nothrow>off <inlining>full <instruction-set>nocona <known-warnings>hide <link>shared <optimization>speed <os>LINUX <pch>on <preserve-test-targets>on <profiling>off <python-debugging>off <python>3.12 <rtti>on <runtime-debugging>off <runtime-link>shared <stdlib>native <strip>off <target-os>linux <testing.execute>on <threadapi>pthread <threading>multi <toolset-gcc:version>13 <toolset>gcc <variant>release <vectorize>off <visibility>hidden <warnings-as-errors>off <warnings>on <x-deduced-platform>x86_64
matched: (empty)
matched: (empty)
error: No best alternative for {dir}/_src/libs/mpi/build/boost_mpi with <abi>sysv <address-model>64 <architecture>x86 <asynch-exceptions>off <binary-format>elf <boost.beast.allow-deprecated>on <boost.beast.separate-compilation>on <boost.cobalt.executor>any_io_executor <boost.cobalt.pmr>std <coverage>off <cxxstd-dialect>iso <cxxstd>20 <debug-symbols>off <exception-handling>on <extern-c-nothrow>off <inlining>full <instruction-set>nocona <known-warnings>hide <link>shared <optimization>speed <os>LINUX <pch>on <preserve-test-targets>on <profiling>off <python-debugging>off <python>3.12 <rtti>on <runtime-debugging>off <runtime-link>shared <stdlib>native <strip>off <target-os>linux <testing.execute>on <threadapi>pthread <threading>multi <toolset-gcc:version>13 <toolset>gcc <variant>release <vectorize>off <visibility>hidden <warnings-as-errors>off <warnings>on <x-deduced-platform>x86_64
matched: (empty)
matched: (empty)
- gcc visibility : yes [2]
- cxx14_decltype_auto : yes [2]
- cxx14_generic_lambdas : yes [2]
- cxx14_return_type_deduction : yes [2]
- cxx14_variable_templates : yes [2]
- long double support : yes [2]
- cxx11_basic_alignas : yes [2]
- zlib : yes [2]
- bzip2 : no [2]
- lzma : no [2]
- zstd : no [2]
- has_lzma_cputhreads builds : no [2]
- cxx14_constexpr : yes [2]
- BOOST_ARCH_WORD_BITS == 0.0.16 : no [2]
- BOOST_ARCH_WORD_BITS == 0.0.32 : no [2]
- BOOST_ARCH_WORD_BITS == 0.0.64 : yes [2]
- BOOST_ARCH_X86 : yes [2]
- BOOST_ARCH_IA64 : no [2]
- BOOST_ARCH_SPARC : no [2]
- BOOST_ARCH_PPC : no [2]
- BOOST_ARCH_LOONGARCH : no [2]
- BOOST_ARCH_MIPS : no [2]
- BOOST_ARCH_PARISC : no [2]
- BOOST_ARCH_ARM : no [2]
- BOOST_ARCH_RISCV : no [2]
- BOOST_ARCH_SYS390 : no [2]
- cxx20_hdr_concepts : yes [2]
- cpp_lib_memory_resource : yes [2]
warning: non-free usage requirements <boost.cobalt.pmr>std ignored
warning: in main-target boost_cobalt at {dir}/_src/libs/cobalt/build/Jamfile:66
- GCC libquadmath and __float128 support : no [2]
[1] gcc-13
[2] gcc-13/release/x86_64/cxxstd-20-iso/instruction-set-nocona/python-3.12/threading-multi/visibility-hidden
[3] gcc-13/release/x86_64/cxxstd-20-iso/instruction-set-nocona/link-static/python-3.12/threading-multi/visibility-hidden
[4] gcc-13/release/x86_64/build-no/cxxstd-20-iso/instruction-set-nocona/python-3.12/threading-multi/visibility-hidden
[5] gcc-13/release/x86_64/boost.process.fs-boost/cxxstd-20-iso/instruction-set-nocona/python-3.12/threading-multi/visibility-hidden
Component configuration:
- contract : building
- date_time : building
- exception : building
- graph : building
- graph_parallel : building
- headers : building
- locale : building
- log : building
- nowide : building
- program_options : building
- regex : building
- serialization : building
- test : building
- thread : building
- type_erasure : building
- winapi : building
- wave : building
- variant2 : building
- variant : building
- uuid : building
- url : building
- unordered : building
- type_index : building
- tuple : building
- timer : building
- throw_exception : building
- system : building
- stl_interfaces : building
- stacktrace : building
- smart_ptr : building
- signals2 : building
- scope : building
- redis : building
- ratio : building
- random : building
- python : not building
- process : building
- predef : building
- poly_collection : building
- pfr : building
- parameter : building
- outcome : building
- optional : building
- mysql : building
- multi_index : building
- msm : building
- mpi : building
- mp11 : building
- move : building
- math : building
- lockfree : building
- lexical_cast : building
- lambda2 : building
- json : building
- iterator : building
- iostreams : building
- intrusive : building
- interprocess : building
- integer : building
- heap : building
- hana : building
- geometry : building
- function_types : building
- function : building
- flyweight : building
- filesystem : building
- fiber : building
- endian : building
- dll : building
- detail : building
- describe : building
- crc : building
- coroutine2 : building
- coroutine : building
- core : building
- conversion : building
- context : building
- container_hash : building
- container : building
- compat : building
- cobalt : building
- chrono : building
- charconv : building
- bind : building
- bimap : building
- beast : building
- atomic : building
- assert : building
- asio : building
- any : building
...patience...
...found 6758 targets...
...updating 1956 targets...
<hundreds of kilobytes of mkdir, ln, cp, and gcc output>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment