Merge pull request #188540 from OPNA2608/fix/llvm-parallel-tests
llvm*: Fix core usage & remove progress bar in tests
This commit is contained in:
commit
ee33222938
@ -151,6 +151,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -150,6 +150,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -140,6 +140,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -102,6 +102,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
patchShebangs test/BugPoint/compile-custom.ll.py
|
patchShebangs test/BugPoint/compile-custom.ll.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -113,6 +113,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
patchShebangs test/BugPoint/compile-custom.ll.py
|
patchShebangs test/BugPoint/compile-custom.ll.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -125,6 +125,13 @@ stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -120,6 +120,13 @@ stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -139,6 +139,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -133,6 +133,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -148,6 +148,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
@ -99,6 +99,13 @@ in stdenv.mkDerivation (rec {
|
|||||||
patchShebangs test/BugPoint/compile-custom.ll.py
|
patchShebangs test/BugPoint/compile-custom.ll.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Workaround for configure flags that need to have spaces
|
||||||
|
cmakeFlagsArray+=(
|
||||||
|
-DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# hacky fix: created binaries need to be run before installation
|
# hacky fix: created binaries need to be run before installation
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
mkdir -p $out/
|
mkdir -p $out/
|
||||||
|
Loading…
Reference in New Issue
Block a user