about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-06-19 22:51:40 +0300
committeronur-ozkan <work@onurozkan.dev>2024-06-28 11:33:50 +0300
commit56c7eb6135519241c00dd6435f7085068c3b14f9 (patch)
tree507a833a880af6753ad5ad05184be5e43ad2b143 /src/ci
parentff9b8c136280a71281854e83e9f2e5e921d499ab (diff)
disable lld if external llvm is used
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/ci')
-rwxr-xr-xsrc/ci/run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index efaf70078c4..869f75e923d 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -85,6 +85,10 @@ fi
 # space required for CI artifacts.
 RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --dist-compression-formats=xz"
 
+if [ "$EXTERNAL_LLVM" = "1" ]; then
+  RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.lld=false"
+fi
+
 # Enable the `c` feature for compiler_builtins, but only when the `compiler-rt` source is available
 # (to avoid spending a lot of time cloning llvm)
 if [ "$EXTERNAL_LLVM" = "" ]; then