disable lld if external llvm is used
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
ff9b8c1362
commit
56c7eb6135
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ fi
|
||||||
# space required for CI artifacts.
|
# space required for CI artifacts.
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --dist-compression-formats=xz"
|
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
|
# 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)
|
# (to avoid spending a lot of time cloning llvm)
|
||||||
if [ "$EXTERNAL_LLVM" = "" ]; then
|
if [ "$EXTERNAL_LLVM" = "" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue