Skip to content

Commit

Permalink
llvmPackages_15: expand the NIX_BUILD_CORES arg passed to lit at co…
Browse files Browse the repository at this point in the history
…nfigure time

this previously worked because, when using Make, this variable was
expanded at build time
  • Loading branch information
rrbutani committed Jan 27, 2023
1 parent 912056c commit 4d3857d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/15/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ in stdenv.mkDerivation (rec {
preConfigure = ''
# Workaround for configure flags that need to have spaces
cmakeFlagsArray+=(
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
-DLLVM_LIT_ARGS="-svj''${NIX_BUILD_CORES} --no-progress-bar"
)
'';

Expand Down

0 comments on commit 4d3857d

Please sign in to comment.