@@ -41,95 +41,70 @@ cc_toolchain_suite(
41
41
42
42
cc_toolchain_config (
43
43
name = "linux-aarch_64-config" ,
44
- bit_flag = "-m64" ,
45
- cpp_flag = "-lstdc++" ,
46
44
sysroot = "/opt/manylinux/2014/aarch64" ,
47
45
linker_path = "/usr/bin/ld" ,
48
46
target_cpu = "aarch64" ,
49
47
target_full_name = "aarch64-linux-gnu" ,
50
- toolchain_name = "linux_aarch_64" ,
51
48
)
52
49
53
50
cc_toolchain_config (
54
51
name = "linux-ppcle_64-config" ,
55
- bit_flag = "-m64" ,
56
- cpp_flag = "-lstdc++" ,
57
52
linker_path = "/usr/bin/ld" ,
58
53
sysroot = "/opt/manylinux/2014/ppc64le" ,
59
54
target_cpu = "ppc64" ,
60
55
target_full_name = "powerpc64le-linux-gnu" ,
61
- toolchain_name = "linux_ppcle_64" ,
62
56
)
63
57
64
58
cc_toolchain_config (
65
59
name = "linux-s390_64-config" ,
66
- bit_flag = "-m64" ,
67
- cpp_flag = "-lstdc++" ,
68
60
linker_path = "/usr/bin/ld" ,
69
61
sysroot = "/opt/manylinux/2014/s390x" ,
70
62
target_cpu = "systemz" ,
71
63
target_full_name = "s390x-linux-gnu" ,
72
- toolchain_name = "linux_s390_64" ,
73
64
)
74
65
75
66
cc_toolchain_config (
76
67
name = "linux-x86_32-config" ,
77
- bit_flag = "-m32" ,
78
- cpp_flag = "-lstdc++" ,
79
68
linker_path = "/usr/bin/ld" ,
80
69
sysroot = "/opt/manylinux/2014/i686" ,
81
70
target_cpu = "x86_32" ,
82
71
target_full_name = "i386-linux-gnu" ,
83
- toolchain_name = "linux_x86_32" ,
84
72
)
85
73
86
74
cc_toolchain_config (
87
75
name = "linux-x86_64-config" ,
88
- bit_flag = "-m64" ,
89
- cpp_flag = "-lstdc++" ,
90
76
linker_path = "/usr/bin/ld" ,
91
77
sysroot = "/opt/manylinux/2014/x86_64" ,
92
78
target_cpu = "x86_64" ,
93
79
target_full_name = "x86_64-linux-gnu" ,
94
- toolchain_name = "linux_x86_64" ,
95
80
)
96
81
97
82
cc_toolchain_config (
98
83
name = "osx-aarch_64-config" ,
99
- bit_flag = "-m64" ,
100
- cpp_flag = "-lc++" ,
101
84
extra_compiler_flags = [
102
85
"-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include/c++/v1" ,
103
86
"-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include"
104
87
],
105
- extra_include = "/usr/include" ,
106
88
linker_path = "/usr/tools" ,
107
89
sysroot = "/usr/tools/apple_sdks/xcode_13_0/macosx" ,
108
90
target_cpu = "aarch64" ,
109
91
target_full_name = "aarch64-apple-macosx11.3" ,
110
- toolchain_name = "osx_aarch_64" ,
111
92
)
112
93
113
94
cc_toolchain_config (
114
95
name = "osx-x86_64-config" ,
115
- bit_flag = "-m64" ,
116
- cpp_flag = "-lc++" ,
117
96
extra_compiler_flags = [
118
97
"-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include/c++/v1" ,
119
98
"-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include"
120
99
],
121
- extra_include = "/usr/include" ,
122
100
linker_path = "/usr/tools" ,
123
101
sysroot = "/usr/tools/apple_sdks/xcode_13_0/macosx" ,
124
102
target_cpu = "x86_64" ,
125
103
target_full_name = "x86_64-apple-macosx11.3" ,
126
- toolchain_name = "osx_x86_64" ,
127
104
)
128
105
129
106
cc_toolchain_config (
130
107
name = "win32-config" ,
131
- bit_flag = "-m32" ,
132
- cpp_flag = "-lstdc++" ,
133
108
extra_compiler_flags = [
134
109
"-isystem/usr/lib/gcc/i686-w64-mingw32/8.3-posix/include/c++" ,
135
110
"-isystem/usr/lib/gcc/i686-w64-mingw32/8.3-posix/include/c++/i686-w64-mingw32" ,
@@ -144,13 +119,10 @@ cc_toolchain_config(
144
119
sysroot = "/usr/i686-w64-mingw32" ,
145
120
target_cpu = "x86_32" ,
146
121
target_full_name = "i686-w64-mingw32" ,
147
- toolchain_name = "i686-w64-mingw32" ,
148
122
)
149
123
150
124
cc_toolchain_config (
151
125
name = "win64-config" ,
152
- bit_flag = "-m64" ,
153
- cpp_flag = "-lstdc++" ,
154
126
extra_compiler_flags = [
155
127
"-isystem/usr/lib/gcc/x86_64-w64-mingw32/8.3-posix/include/c++/" ,
156
128
"-isystem/usr/lib/gcc/x86_64-w64-mingw32/8.3-posix/include/c++/x86_64-w64-mingw32" ,
@@ -163,5 +135,4 @@ cc_toolchain_config(
163
135
sysroot = "/usr/x86_64-w64-mingw32" ,
164
136
target_cpu = "x86_64" ,
165
137
target_full_name = "x86_64-w64-mingw32" ,
166
- toolchain_name = "x86_64-w64-mingw32" ,
167
138
)
0 commit comments