2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 02:52:12 +00:00

Bring back one combined arch use case.

In the cleanup of the darwin toolset we eliminated the cimbined
architecture option. Until we implement a better combined architecture
model add back the one use case in current demand. That is the macOS
arm64+x86_64 unity build. As such this adds a single "arm+x86"
architecture and corresponding common handling to add the gcc toolset
options for macOS.
This commit is contained in:
Rene Rivera
2022-04-25 22:06:32 -05:00
parent 63d6585bda
commit 0db9a736ba
2 changed files with 8 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ feature.feature architecture
# z Systems (aka s390x)
s390x
# Combined architecture(s)
arm+x86
:
propagated optional
;

View File

@@ -1272,3 +1272,8 @@ cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ;
cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ;
# AIX variant of RS/6000 & PowerPC
toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
# This is a remporary solution for doing combined architecture builds on macOS.
toolset.flags gcc
OPTIONS <target-os>darwin/<architecture>arm+x86/<address-model>64
: "-arch arm64" "-arch x86_64" ;