diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-06-19 22:51:40 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-06-28 11:33:50 +0300 |
| commit | 56c7eb6135519241c00dd6435f7085068c3b14f9 (patch) | |
| tree | 507a833a880af6753ad5ad05184be5e43ad2b143 /src/ci | |
| parent | ff9b8c136280a71281854e83e9f2e5e921d499ab (diff) | |
disable lld if external llvm is used
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/ci')
| -rwxr-xr-x | src/ci/run.sh | 4 |
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 |
