You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
B2 Configuration: Output of b2 --debug-configuration in your project.
notice: loading B2 from /mnt/c/VSExclude/agent-dotnet-3/build/bin/vcpkg/x64-linux/x64-linux/tools/boost-build/src/kernel/bootstrap.jam
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
/mnt/c/VSExclude/agent-dotnet-3/vcpkg/buildtrees/boost-system/x64-linux-musl-dbg/user-config.jam
notice: Searching '/mnt/c/VSExclude/agent-dotnet-3/vcpkg/buildtrees/boost-system/x64-linux-musl-dbg' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from '/mnt/c/VSExclude/agent-dotnet-3/vcpkg/buildtrees/boost-system/x64-linux-musl-dbg'.
notice: will use '/bin/clang++-16' for clang-linux, condition <toolset>clang-linux-16
Brief problem description
I try to build boost on ubuntu using non-default sysroot (with alpine inside) and overriding setting --target=x86_64-alpine-linux-musl (it is defined in /mnt/c/VSExclude/agent-dotnet-3/vcpkg/buildtrees/boost-system/x64-linux-musl-dbg).
But (due to logic in https://github.com/bfgroup/b2/blob/main/src/tools/clang.jam#L95), it always add --target=x86_64-pc-linux.
Is there any way to not use hardcoded x86_64-pc-linux target?
Environment and version details
B2 Version 4.9. OS=LINUX.
B2 4.9-git
b2 --debug-configuration
in your project.Brief problem description
I try to build boost on ubuntu using non-default sysroot (with alpine inside) and overriding setting
--target=x86_64-alpine-linux-musl
(it is defined in /mnt/c/VSExclude/agent-dotnet-3/vcpkg/buildtrees/boost-system/x64-linux-musl-dbg).But (due to logic in https://github.com/bfgroup/b2/blob/main/src/tools/clang.jam#L95), it always add
--target=x86_64-pc-linux
.Is there any way to not use hardcoded
x86_64-pc-linux
target?Steps to reproduce the issue
Next command called:
Actual behavior summary
It call:
Expected behavior summary
Only target from user-config.jam passed to clang. No additional hard-coded
--target=x86_64-pc-linux
added.The text was updated successfully, but these errors were encountered: