File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -429,11 +429,11 @@ def _swift_toolchain_impl(ctx):
429429 target_triples .parse (ctx .var .get ("CC_TARGET_TRIPLE" ) or target_system_name ),
430430 )
431431
432- if "clang" not in cc_toolchain .compiler :
433- fail ("Swift requires the configured CC toolchain to be LLVM (clang). " +
434- "Either use the locally installed LLVM by setting `CC=clang` in your environment " +
435- "before invoking Bazel, or configure a Bazel LLVM CC toolchain." +
436- "The current CC toolchain uses: {}" .format (cc_toolchain .compiler ))
432+ # if "clang" not in cc_toolchain.compiler:
433+ # fail("Swift requires the configured CC toolchain to be LLVM (clang). " +
434+ # "Either use the locally installed LLVM by setting `CC=clang` in your environment " +
435+ # "before invoking Bazel, or configure a Bazel LLVM CC toolchain." +
436+ # "The current CC toolchain uses: {}".format(cc_toolchain.compiler))
437437
438438 if ctx .attr .os == "windows" :
439439 swift_linkopts_cc_info = _swift_windows_linkopts_cc_info (
You can’t perform that action at this time.
0 commit comments