Skip to content

Commit 86fb7ef

Browse files
committed
On darwin/macos create a dummy empty file.
1 parent 050afcf commit 86fb7ef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

toolchain/internal/configure.bzl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,13 @@ def llvm_config_impl(rctx):
251251

252252
# Inner CC wrapper script (redirect used for shell compatibility on Linux
253253
# platforms).
254-
if os != "darwin":
254+
if os == "darwin":
255+
rctx.file(
256+
"bin/cc_wrapper_inner.sh",
257+
content = "",
258+
executable = False,
259+
)
260+
else:
255261
rctx.template(
256262
"bin/cc_wrapper_inner.sh",
257263
rctx.attr._cc_wrapper_inner_sh_tpl,

0 commit comments

Comments
 (0)