summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch')
-rw-r--r--meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch151
1 files changed, 151 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch b/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
new file mode 100644
index 0000000000..fb6d9711b9
--- /dev/null
+++ b/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
@@ -0,0 +1,151 @@
1From 0868761e7d2d75d472090e3ef96f3d2f9ced27f3 Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com>
3Date: Tue, 13 Dec 2016 10:29:32 -0700
4Subject: [PATCH 5/6] Don't set up arch/instruction-set flags, we do that
5 ourselves
6
7Upstream-Status: Inappropriate
8Signed-off-by: Christopher Larson <chris_larson@mentor.com>
9
10---
11 tools/build/src/tools/gcc.jam | 127 ------------------------------------------
12 1 file changed, 127 deletions(-)
13
14diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
15index e3b1b952..e4fc6c32 100644
16--- a/tools/build/src/tools/gcc.jam
17+++ b/tools/build/src/tools/gcc.jam
18@@ -1276,130 +1276,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
19 <architecture>$(architecture)/<instruction-set>$(instruction-set)
20 : $(values) ;
21 }
22-
23-
24-# Set architecture/instruction-set options.
25-#
26-# x86 and compatible
27-# The 'native' option appeared in gcc 4.2 so we cannot safely use it as default.
28-# Use i686 instead for 32-bit.
29-toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : -march=i686 ;
30-cpu-flags gcc OPTIONS : x86 : native : -march=native ;
31-cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ;
32-cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ;
33-cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ;
34-cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ;
35-cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ;
36-cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ;
37-cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ;
38-cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ;
39-cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ;
40-cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ;
41-cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ;
42-cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ;
43-cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ;
44-cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ;
45-cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ;
46-cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ;
47-cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ;
48-cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ;
49-cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ;
50-cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ;
51-cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ;
52-cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ;
53-cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ;
54-cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ;
55-cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ;
56-cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ;
57-cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ;
58-cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ;
59-cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ;
60-cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ;
61-cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ;
62-cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ;
63-cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi -mbmi2 -mlzcnt ;
64-cpu-flags gcc OPTIONS : x86 : broadwell : -march=broadwell ;
65-cpu-flags gcc OPTIONS : x86 : skylake : -march=skylake ;
66-cpu-flags gcc OPTIONS : x86 : skylake-avx512 : -march=skylake-avx512 ;
67-cpu-flags gcc OPTIONS : x86 : cannonlake : -march=skylake-avx512 -mavx512vbmi -mavx512ifma -msha ;
68-cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ;
69-cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ;
70-cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ;
71-cpu-flags gcc OPTIONS : x86 : athlon : -march=athlon ;
72-cpu-flags gcc OPTIONS : x86 : athlon-tbird : -march=athlon-tbird ;
73-cpu-flags gcc OPTIONS : x86 : athlon-4 : -march=athlon-4 ;
74-cpu-flags gcc OPTIONS : x86 : athlon-xp : -march=athlon-xp ;
75-cpu-flags gcc OPTIONS : x86 : athlon-mp : -march=athlon-mp ;
76-##
77-cpu-flags gcc OPTIONS : x86 : k8 : -march=k8 ;
78-cpu-flags gcc OPTIONS : x86 : opteron : -march=opteron ;
79-cpu-flags gcc OPTIONS : x86 : athlon64 : -march=athlon64 ;
80-cpu-flags gcc OPTIONS : x86 : athlon-fx : -march=athlon-fx ;
81-cpu-flags gcc OPTIONS : x86 : k8-sse3 : -march=k8-sse3 ;
82-cpu-flags gcc OPTIONS : x86 : opteron-sse3 : -march=opteron-sse3 ;
83-cpu-flags gcc OPTIONS : x86 : athlon64-sse3 : -march=athlon64-sse3 ;
84-cpu-flags gcc OPTIONS : x86 : amdfam10 : -march=amdfam10 ;
85-cpu-flags gcc OPTIONS : x86 : barcelona : -march=barcelona ;
86-cpu-flags gcc OPTIONS : x86 : bdver1 : -march=bdver1 ;
87-cpu-flags gcc OPTIONS : x86 : bdver2 : -march=bdver2 ;
88-cpu-flags gcc OPTIONS : x86 : bdver3 : -march=bdver3 ;
89-cpu-flags gcc OPTIONS : x86 : bdver4 : -march=bdver4 ;
90-cpu-flags gcc OPTIONS : x86 : btver1 : -march=btver1 ;
91-cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ;
92-cpu-flags gcc OPTIONS : x86 : znver1 : -march=znver1 ;
93-cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ;
94-cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ;
95-cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ;
96-cpu-flags gcc OPTIONS : x86 : c3-2 : -march=c3-2 ;
97-##
98-cpu-flags gcc OPTIONS : x86 : atom : -march=atom ;
99-# Sparc
100-cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 : default ;
101-cpu-flags gcc OPTIONS : sparc : cypress : -mcpu=cypress ;
102-cpu-flags gcc OPTIONS : sparc : v8 : -mcpu=v8 ;
103-cpu-flags gcc OPTIONS : sparc : supersparc : -mcpu=supersparc ;
104-cpu-flags gcc OPTIONS : sparc : sparclite : -mcpu=sparclite ;
105-cpu-flags gcc OPTIONS : sparc : hypersparc : -mcpu=hypersparc ;
106-cpu-flags gcc OPTIONS : sparc : sparclite86x : -mcpu=sparclite86x ;
107-cpu-flags gcc OPTIONS : sparc : f930 : -mcpu=f930 ;
108-cpu-flags gcc OPTIONS : sparc : f934 : -mcpu=f934 ;
109-cpu-flags gcc OPTIONS : sparc : sparclet : -mcpu=sparclet ;
110-cpu-flags gcc OPTIONS : sparc : tsc701 : -mcpu=tsc701 ;
111-cpu-flags gcc OPTIONS : sparc : v9 : -mcpu=v9 ;
112-cpu-flags gcc OPTIONS : sparc : ultrasparc : -mcpu=ultrasparc ;
113-cpu-flags gcc OPTIONS : sparc : ultrasparc3 : -mcpu=ultrasparc3 ;
114-# RS/6000 & PowerPC
115-cpu-flags gcc OPTIONS : power : 403 : -mcpu=403 ;
116-cpu-flags gcc OPTIONS : power : 505 : -mcpu=505 ;
117-cpu-flags gcc OPTIONS : power : 601 : -mcpu=601 ;
118-cpu-flags gcc OPTIONS : power : 602 : -mcpu=602 ;
119-cpu-flags gcc OPTIONS : power : 603 : -mcpu=603 ;
120-cpu-flags gcc OPTIONS : power : 603e : -mcpu=603e ;
121-cpu-flags gcc OPTIONS : power : 604 : -mcpu=604 ;
122-cpu-flags gcc OPTIONS : power : 604e : -mcpu=604e ;
123-cpu-flags gcc OPTIONS : power : 620 : -mcpu=620 ;
124-cpu-flags gcc OPTIONS : power : 630 : -mcpu=630 ;
125-cpu-flags gcc OPTIONS : power : 740 : -mcpu=740 ;
126-cpu-flags gcc OPTIONS : power : 7400 : -mcpu=7400 ;
127-cpu-flags gcc OPTIONS : power : 7450 : -mcpu=7450 ;
128-cpu-flags gcc OPTIONS : power : 750 : -mcpu=750 ;
129-cpu-flags gcc OPTIONS : power : 801 : -mcpu=801 ;
130-cpu-flags gcc OPTIONS : power : 821 : -mcpu=821 ;
131-cpu-flags gcc OPTIONS : power : 823 : -mcpu=823 ;
132-cpu-flags gcc OPTIONS : power : 860 : -mcpu=860 ;
133-cpu-flags gcc OPTIONS : power : 970 : -mcpu=970 ;
134-cpu-flags gcc OPTIONS : power : 8540 : -mcpu=8540 ;
135-cpu-flags gcc OPTIONS : power : power : -mcpu=power ;
136-cpu-flags gcc OPTIONS : power : power2 : -mcpu=power2 ;
137-cpu-flags gcc OPTIONS : power : power3 : -mcpu=power3 ;
138-cpu-flags gcc OPTIONS : power : power4 : -mcpu=power4 ;
139-cpu-flags gcc OPTIONS : power : power5 : -mcpu=power5 ;
140-cpu-flags gcc OPTIONS : power : powerpc : -mcpu=powerpc ;
141-cpu-flags gcc OPTIONS : power : powerpc64 : -mcpu=powerpc64 ;
142-cpu-flags gcc OPTIONS : power : rios : -mcpu=rios ;
143-cpu-flags gcc OPTIONS : power : rios1 : -mcpu=rios1 ;
144-cpu-flags gcc OPTIONS : power : rios2 : -mcpu=rios2 ;
145-cpu-flags gcc OPTIONS : power : rsc : -mcpu=rsc ;
146-cpu-flags gcc OPTIONS : power : rs64a : -mcpu=rs64 ;
147-# AIX variant of RS/6000 & PowerPC
148-toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
149--
1502.15.1
151