@@ -111,11 +111,6 @@ llvm.toolchain(
111
111
"darwin-aarch64" : ["https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang+llvm-15.0.7-arm64-apple-darwin22.0.tar.xz" ],
112
112
"darwin-x86_64" : ["https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang+llvm-15.0.7-x86_64-apple-darwin21.0.tar.xz" ],
113
113
},
114
- cxx_standard = {"" : "c++17" },
115
- )
116
- llvm .extra_target_compatible_with (
117
- name = "llvm_toolchain_with_urls" ,
118
- constraints = ["@//:cxx17" ],
119
114
)
120
115
use_repo (llvm , "llvm_toolchain_with_urls" )
121
116
@@ -126,11 +121,6 @@ use_repo(llvm, "llvm_toolchain_with_urls")
126
121
llvm .toolchain (
127
122
name = "llvm_toolchain_13_0_0" ,
128
123
llvm_version = "13.0.0" ,
129
- cxx_standard = {"" : "c++17" },
130
- )
131
- llvm .extra_target_compatible_with (
132
- name = "llvm_toolchain_13_0_0" ,
133
- constraints = ["@//:cxx17" ],
134
124
)
135
125
use_repo (llvm , "llvm_toolchain_13_0_0" )
136
126
@@ -139,11 +129,6 @@ llvm.toolchain(
139
129
name = "llvm_toolchain_with_absolute_paths" ,
140
130
absolute_paths = True ,
141
131
llvm_versions = LLVM_VERSIONS ,
142
- cxx_standard = {"" : "c++17" },
143
- )
144
- llvm .extra_target_compatible_with (
145
- name = "llvm_toolchain_with_absolute_paths" ,
146
- constraints = ["@//:cxx17" ],
147
132
)
148
133
# We can share the downloaded LLVM distribution with the first configuration.
149
134
llvm .toolchain_root (
@@ -156,11 +141,6 @@ use_repo(llvm, "llvm_toolchain_with_absolute_paths")
156
141
llvm .toolchain (
157
142
name = "llvm_toolchain_with_system_llvm" ,
158
143
llvm_versions = LLVM_VERSIONS ,
159
- cxx_standard = {"" : "c++17" },
160
- )
161
- llvm .extra_target_compatible_with (
162
- name = "llvm_toolchain_with_system_llvm" ,
163
- constraints = ["@//:cxx17" ],
164
144
)
165
145
# For this toolchain to work, the LLVM distribution archive would need to be unpacked here.
166
146
llvm .toolchain_root (
@@ -173,11 +153,6 @@ use_repo(llvm, "llvm_toolchain_with_system_llvm")
173
153
llvm .toolchain (
174
154
name = "llvm_toolchain_with_sysroot" ,
175
155
llvm_versions = LLVM_VERSIONS ,
176
- cxx_standard = {"" : "c++17" },
177
- )
178
- llvm .extra_target_compatible_with (
179
- name = "llvm_toolchain_with_sysroot" ,
180
- constraints = ["@//:cxx17" ],
181
156
)
182
157
# We can share the downloaded LLVM distribution with the first configuration.
183
158
llvm .toolchain_root (
@@ -202,10 +177,5 @@ llvm.toolchain(
202
177
# distribution = "clang+llvm-17.0.6-x86_64-linux-gnu-ubuntu-22.04.tar.xz",
203
178
exec_os = "linux" ,
204
179
exec_arch = "amd64" ,
205
- cxx_standard = {"" : "c++17" },
206
- )
207
- llvm .extra_target_compatible_with (
208
- name = "llvm_toolchain_linux_exec" ,
209
- constraints = ["@//:cxx17" ],
210
180
)
211
181
use_repo (llvm , "llvm_toolchain_linux_exec" )
0 commit comments