diff options
Diffstat (limited to 'meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch')
-rw-r--r-- | meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch index 91ab53efd9..9ba5d5cc33 100644 --- a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch +++ b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8e1d30454afde37eaa3c593ec19d108cd5ed10d0 Mon Sep 17 00:00:00 2001 | 1 | From 18185e939ca121335a6172c8e50872af8122a759 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 18 Dec 2018 15:42:57 +0100 | 3 | Date: Tue, 18 Dec 2018 15:42:57 +0100 |
4 | Subject: [PATCH] Don't set up arch/instruction-set flags, we do that | 4 | Subject: [PATCH] Don't set up arch/instruction-set flags, we do that |
@@ -8,16 +8,15 @@ ourselves | |||
8 | Upstream-Status: Inappropriate | 8 | Upstream-Status: Inappropriate |
9 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | 9 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> |
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
11 | |||
12 | --- | 11 | --- |
13 | tools/build/src/tools/gcc.jam | 139 ---------------------------------- | 12 | tools/build/src/tools/gcc.jam | 153 ---------------------------------- |
14 | 1 file changed, 139 deletions(-) | 13 | 1 file changed, 153 deletions(-) |
15 | 14 | ||
16 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam | 15 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam |
17 | index ff3209f7b..70cbc39a5 100644 | 16 | index 834f5e1bf..493a43e6d 100644 |
18 | --- a/tools/build/src/tools/gcc.jam | 17 | --- a/tools/build/src/tools/gcc.jam |
19 | +++ b/tools/build/src/tools/gcc.jam | 18 | +++ b/tools/build/src/tools/gcc.jam |
20 | @@ -1217,142 +1217,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + : | 19 | @@ -1113,156 +1113,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + : |
21 | <architecture>$(architecture)/<instruction-set>$(instruction-set) | 20 | <architecture>$(architecture)/<instruction-set>$(instruction-set) |
22 | : $(values) ; | 21 | : $(values) ; |
23 | } | 22 | } |
@@ -72,6 +71,9 @@ index ff3209f7b..70cbc39a5 100644 | |||
72 | -cpu-flags gcc OPTIONS : x86 : cascadelake : -march=skylake-avx512 -mavx512vnni ; | 71 | -cpu-flags gcc OPTIONS : x86 : cascadelake : -march=skylake-avx512 -mavx512vnni ; |
73 | -cpu-flags gcc OPTIONS : x86 : cooperlake : -march=cooperlake ; | 72 | -cpu-flags gcc OPTIONS : x86 : cooperlake : -march=cooperlake ; |
74 | -cpu-flags gcc OPTIONS : x86 : tigerlake : -march=tigerlake ; | 73 | -cpu-flags gcc OPTIONS : x86 : tigerlake : -march=tigerlake ; |
74 | -cpu-flags gcc OPTIONS : x86 : rocketlake : -march=rocketlake ; | ||
75 | -cpu-flags gcc OPTIONS : x86 : alderlake : -march=alderlake ; | ||
76 | -cpu-flags gcc OPTIONS : x86 : sapphirerapids : -march=sapphirerapids ; | ||
75 | -cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ; | 77 | -cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ; |
76 | -cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ; | 78 | -cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ; |
77 | -cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ; | 79 | -cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ; |
@@ -98,6 +100,7 @@ index ff3209f7b..70cbc39a5 100644 | |||
98 | -cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ; | 100 | -cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ; |
99 | -cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ; | 101 | -cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ; |
100 | -cpu-flags gcc OPTIONS : x86 : znver2 : -march=znver2 ; | 102 | -cpu-flags gcc OPTIONS : x86 : znver2 : -march=znver2 ; |
103 | -cpu-flags gcc OPTIONS : x86 : znver3 : -march=znver3 ; | ||
101 | -cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ; | 104 | -cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ; |
102 | -cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ; | 105 | -cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ; |
103 | -cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ; | 106 | -cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ; |
@@ -158,5 +161,15 @@ index ff3209f7b..70cbc39a5 100644 | |||
158 | -cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ; | 161 | -cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ; |
159 | -cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ; | 162 | -cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ; |
160 | -cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ; | 163 | -cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ; |
164 | -# ARM | ||
165 | -cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard ; | ||
166 | -cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ; | ||
167 | -cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ; | ||
168 | -cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ; | ||
161 | -# AIX variant of RS/6000 & PowerPC | 169 | -# AIX variant of RS/6000 & PowerPC |
162 | -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ; | 170 | -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ; |
171 | - | ||
172 | -# Enable response file control | ||
173 | -toolset.flags gcc RESPONSE_FILE_SUB <response-file>auto : a ; | ||
174 | -toolset.flags gcc RESPONSE_FILE_SUB <response-file>file : f ; | ||
175 | -toolset.flags gcc RESPONSE_FILE_SUB <response-file>contents : c ; | ||