2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Add z15 to the s390x platform (#484)

This commit is contained in:
Neale Ferguson
2019-09-20 13:48:27 -04:00
committed by Rene Rivera
parent 927ba8e60e
commit 844067eca1
4 changed files with 4 additions and 2 deletions

View File

@@ -321,7 +321,7 @@ def register_globals ():
'armv5t', 'armv5te', 'armv6', 'armv6j', 'iwmmxt', 'ep9312',
# z Systems (aka s390x)
'z196', 'zEC12', 'z13', 'z13', 'z14'],
'z196', 'zEC12', 'z13', 'z13', 'z14', 'z15'],
['propagated', 'optional'])

View File

@@ -44,7 +44,7 @@ feature.feature instruction-set
armv7 armv7s
# z Systems (aka s390x)
z196 zEC12 z13 z14
z196 zEC12 z13 z14 z15
:
propagated optional

View File

@@ -1311,5 +1311,6 @@ 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 ;
cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ;
# AIX variant of RS/6000 & PowerPC
toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;

View File

@@ -864,6 +864,7 @@ 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'])
cpu_flags('gcc', 'OPTIONS', 's390x', 'z15', ['-march=z15'])
# 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'])