allow explicit target triple for clang-linux and clang-darwin#466
Merged
Conversation
3 tasks
4 tasks
Ignition
added a commit
to memgraph/memgraph
that referenced
this pull request
Apr 8, 2026
b2's clang.jam init-flags-cross generates --target=x86_64-pc-linux, which doesn't match clang's per-target runtime directory layout (x86_64-unknown-linux-gnu). This breaks any b2 link needing the sanitizer runtime, including ac library detection for zlib/bzip2. Vendor the Boost 1.88.0 CCI recipe with two changes: - Require b2 >= 5.4 which includes <triple> support (bfgroup/b2#466: allow explicit target triple for clang-linux and clang-darwin) - Set <triple>none in user-config.jam for clang to disable b2's target guessing, letting clang use its own default triple This replaces the profile workaround that cleared sanitizer flags for the Boost build. Boost is now built with full ASAN/UBSAN instrumentation. See bfgroup/b2#584
Ignition
added a commit
to memgraph/memgraph
that referenced
this pull request
Apr 8, 2026
b2's clang.jam init-flags-cross generates --target=x86_64-pc-linux, which doesn't match clang's per-target runtime directory layout (x86_64-unknown-linux-gnu). This breaks any b2 link needing the sanitizer runtime, including ac library detection for zlib/bzip2. Vendor the Boost 1.88.0 CCI recipe with two changes: - Require b2 >= 5.4 which includes <triple> support (bfgroup/b2#466: allow explicit target triple for clang-linux and clang-darwin) - Set <triple>none in user-config.jam for clang to disable b2's target guessing, letting clang use its own default triple This replaces the profile workaround that cleared sanitizer flags for the Boost build. Boost is now built with full ASAN/UBSAN instrumentation. See bfgroup/b2#584
Ignition
added a commit
to memgraph/memgraph
that referenced
this pull request
Apr 8, 2026
b2's clang.jam init-flags-cross generates --target=x86_64-pc-linux, which doesn't match clang's per-target runtime directory layout (x86_64-unknown-linux-gnu). This breaks any b2 link needing the sanitizer runtime, including ac library detection for zlib/bzip2. Vendor the Boost 1.88.0 CCI recipe with two changes: - Require b2 >= 5.4 which includes <triple> support (bfgroup/b2#466: allow explicit target triple for clang-linux and clang-darwin) - Set <triple>none in user-config.jam for clang to disable b2's target guessing, letting clang use its own default triple This replaces the profile workaround that cleared sanitizer flags for the Boost build. Boost is now built with full ASAN/UBSAN instrumentation. See bfgroup/b2#584
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Add an option to
clang-linuxandclang-darwintoolset modules that allows setting the target triple flag (--target=) explicitly rather than guessing it from the build requirements. Fix #449.I didn't add anything to the other
clang-modules as they do not pass the--targetflag.Types of changes