Fix boost 1.86.0 recipe for x86 arch #25887
Merged
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.
Summary
Changes to recipe: boost/1.86.0
Motivation
Fix #25864.
Details
We can see the relevant part of the build definition for boost 1.86.0 here. The token
$(arch:G=)
will evaluate tox86
in two conan recipe scenarios:We also see an existing helper property
_b2_architecture
in the conan recipe here.Therefore this change seems reasonable.
Testing
profile "win32_v192_debug.txt"
VS 2019 16.11.41
profile "x64_v192_debug.txt"
VS 2019 16.11.41
profile "win32_v194_debug.txt"
VS 2022 17.11.5
profile "x64_v194_debug.txt"
VS 2022 17.11.5
cases
Using Conan 2.9.2:
conan create ./all --version 1.86.0 --build missing --profile:all "C:\tmp\conan_profiles\win32_v192_debug.txt"
conan create ./all --version 1.86.0 --build missing --profile:all "C:\tmp\conan_profiles\x64_v192_debug.txt"
conan create ./all --version 1.86.0 --build missing --profile:all "C:\tmp\conan_profiles\win32_v194_debug.txt"
conan create ./all --version 1.86.0 --build missing --profile:all "C:\tmp\conan_profiles\x64_v194_debug.txt"