llvmPackages_15: expand the NIX_BUILD_CORES arg passed to lit at configure time
this previously worked because, when using Make, this variable was expanded at build time
This commit is contained in:
@@ -103,7 +103,7 @@ in stdenv.mkDerivation (rec {
|
|||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Workaround for configure flags that need to have spaces
|
# Workaround for configure flags that need to have spaces
|
||||||
cmakeFlagsArray+=(
|
cmakeFlagsArray+=(
|
||||||
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
-DLLVM_LIT_ARGS="-svj''${NIX_BUILD_CORES} --no-progress-bar"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user