Skip to content

Commit f8bc231

Browse files
committed
ignore
1 parent 914159b commit f8bc231

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

swift/toolchains/swift_toolchain.bzl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)