mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
committed by
Rene Rivera
parent
f2aca24408
commit
a62f2daeb0
@@ -425,7 +425,7 @@ for details of cross-compilation.
|
||||
[[bbv2.builtin.features.architecture]]`architecture`::
|
||||
*Allowed values:* `x86`, `ia64`, `sparc`, `power`, `mips1`, `mips2`,
|
||||
`mips3`, `mips4`, `mips32`, `mips32r2`, `mips64`, `parisc`, `arm`,
|
||||
`combined`, `combined-x86-power`.
|
||||
`s390x`, `combined`, `combined-x86-power`.
|
||||
+
|
||||
The `architecture` features specifies the general processor family to
|
||||
generate code for.
|
||||
|
||||
@@ -265,6 +265,9 @@ def register_globals ():
|
||||
# Advanced RISC Machines
|
||||
'arm',
|
||||
|
||||
# z Systems (aka s390x)
|
||||
's390x',
|
||||
|
||||
# Combined architectures for platforms/toolsets that support building for
|
||||
# multiple architectures at once. "combined" would be the default multi-arch
|
||||
# for the toolset.
|
||||
@@ -310,7 +313,10 @@ def register_globals ():
|
||||
|
||||
# Advanced RISC Machines
|
||||
'armv2', 'armv2a', 'armv3', 'armv3m', 'armv4', 'armv4t', 'armv5',
|
||||
'armv5t', 'armv5te', 'armv6', 'armv6j', 'iwmmxt', 'ep9312'],
|
||||
'armv5t', 'armv5te', 'armv6', 'armv6j', 'iwmmxt', 'ep9312',
|
||||
|
||||
# z Systems (aka s390x)
|
||||
'z196', 'zEC12', 'z13', 'z13', 'z14'],
|
||||
|
||||
['propagated', 'optional'])
|
||||
|
||||
|
||||
@@ -33,6 +33,9 @@ feature.feature architecture
|
||||
# RISC-V
|
||||
riscv
|
||||
|
||||
# z Systems (aka s390x)
|
||||
s390x
|
||||
|
||||
# Combined architectures for platforms/toolsets that support building for
|
||||
# multiple architectures at once. "combined" would be the default multi-arch
|
||||
# for the toolset.
|
||||
|
||||
@@ -42,6 +42,9 @@ feature.feature instruction-set
|
||||
# Advanced RISC Machines
|
||||
armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5t armv5te armv6 armv6j iwmmxt ep9312
|
||||
armv7 armv7s
|
||||
|
||||
# z Systems (aka s390x)
|
||||
z196 zEC12 z13 z14
|
||||
|
||||
:
|
||||
propagated optional
|
||||
|
||||
@@ -1300,5 +1300,9 @@ cpu-flags gcc OPTIONS : power : rios1 : -mcpu=rios1 ;
|
||||
cpu-flags gcc OPTIONS : power : rios2 : -mcpu=rios2 ;
|
||||
cpu-flags gcc OPTIONS : power : rsc : -mcpu=rsc ;
|
||||
cpu-flags gcc OPTIONS : power : rs64a : -mcpu=rs64 ;
|
||||
cpu-flags gcc OPTIONS : s390x : z196 : -march=z196 ;
|
||||
cpu-flags gcc OPTIONS : s390x : zEC12 : -march=zEC12 ;
|
||||
cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ;
|
||||
cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ;
|
||||
# AIX variant of RS/6000 & PowerPC
|
||||
toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
|
||||
|
||||
@@ -860,6 +860,10 @@ cpu_flags('gcc', 'OPTIONS', 'power', 'rios1', ['-mcpu=rios1'])
|
||||
cpu_flags('gcc', 'OPTIONS', 'power', 'rios2', ['-mcpu=rios2'])
|
||||
cpu_flags('gcc', 'OPTIONS', 'power', 'rsc', ['-mcpu=rsc'])
|
||||
cpu_flags('gcc', 'OPTIONS', 'power', 'rs64a', ['-mcpu=rs64'])
|
||||
cpu_flags('gcc', 'OPTIONS', 's390x', 'z196', ['-march=z196'])
|
||||
cpu_flags('gcc', 'OPTIONS', 's390x', 'zEC12', ['-march=zEC12'])
|
||||
cpu_flags('gcc', 'OPTIONS', 's390x', 'z13', ['-march=z13'])
|
||||
cpu_flags('gcc', 'OPTIONS', 's390x', 'z14', ['-march=z14'])
|
||||
# AIX variant of RS/6000 & PowerPC
|
||||
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>32/<target-os>aix'], ['-maix32'])
|
||||
flags('gcc', 'OPTIONS', ['<architecture>power/<address-model>64/<target-os>aix'], ['-maix64'])
|
||||
|
||||
Reference in New Issue
Block a user