Skip to content

Commit bfca652

Browse files
committed
disable lld if external llvm is used
Signed-off-by: onur-ozkan <[email protected]>
1 parent c890a81 commit bfca652

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ci/run.sh

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ fi
8585
# space required for CI artifacts.
8686
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --dist-compression-formats=xz"
8787

88+
if [ "$EXTERNAL_LLVM" = "1" ]; then
89+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.lld=false"
90+
fi
91+
8892
# Enable the `c` feature for compiler_builtins, but only when the `compiler-rt` source is available
8993
# (to avoid spending a lot of time cloning llvm)
9094
if [ "$EXTERNAL_LLVM" = "" ]; then

0 commit comments

Comments
 (0)