disable lld if external llvm is used
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
ff9b8c1362
commit
56c7eb6135
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user