treewide: remove enableParallelBuilding = true if using cmake

This commit is contained in:
Ben Siraphob
2021-01-03 18:37:40 +07:00
parent fb2311d430
commit 3ae5e6ce03
378 changed files with 15 additions and 724 deletions
@@ -54,7 +54,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake python3 bison jq ];
enableParallelBuilding = true;
postPatch = ''
cp --no-preserve=mode -r "${localSpirv-tools.src}" External/spirv-tools
-2
View File
@@ -171,8 +171,6 @@ stdenv.mkDerivation rec {
openspecfun pcre2
]);
enableParallelBuilding = true;
doCheck = !stdenv.isDarwin;
checkTarget = "testall";
# Julia's tests require read/write access to $HOME
-2
View File
@@ -119,8 +119,6 @@ stdenv.mkDerivation rec {
openspecfun pcre2 lapack
];
enableParallelBuilding = true;
# Other versions of Julia pass the tests, but we are not sure why these fail.
doCheck = false;
checkTarget = "testall";
-2
View File
@@ -119,8 +119,6 @@ stdenv.mkDerivation rec {
openspecfun pcre2 lapack
];
enableParallelBuilding = true;
# Julia's tests require read/write access to $HOME
preCheck = ''
export HOME="$NIX_BUILD_TOP"
@@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
pname = "ldc";
inherit version;
enableParallelBuilding = true;
src = fetchurl {
url = "https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz";
sha256 = ldcSha256;
@@ -82,8 +82,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -87,5 +87,4 @@ stdenv.mkDerivation rec {
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -38,8 +38,6 @@ stdenv.mkDerivation {
"-DLIBCXX_ENABLE_EXCEPTIONS=OFF"
] ++ stdenv.lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF";
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -8,7 +8,5 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
}
@@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -59,8 +59,6 @@ stdenv.mkDerivation (rec {
"-DSPHINX_OUTPUT_HTML=OFF"
];
enableParallelBuilding = true;
postInstall = ''
# Editor support
# vscode:
@@ -154,8 +154,6 @@ in stdenv.mkDerivation (rec {
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -81,8 +81,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -86,5 +86,4 @@ stdenv.mkDerivation rec {
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -35,8 +35,6 @@ stdenv.mkDerivation {
"-DLIBCXX_ENABLE_EXCEPTIONS=OFF"
] ++ stdenv.lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF";
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -8,7 +8,5 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
}
@@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -59,8 +59,6 @@ stdenv.mkDerivation (rec {
"-DSPHINX_OUTPUT_HTML=OFF"
];
enableParallelBuilding = true;
postInstall = ''
# Editor support
# vscode:
@@ -156,8 +156,6 @@ in stdenv.mkDerivation (rec {
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -72,8 +72,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -84,5 +84,4 @@ stdenv.mkDerivation {
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/linux/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -37,8 +37,6 @@ stdenv.mkDerivation {
"-DLIBCXX_CXX_ABI=libcxxabi"
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1";
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -16,8 +16,6 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -51,8 +51,6 @@ stdenv.mkDerivation {
"-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic
];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/man/man1
cp ../docs/lldb.1 $out/share/man/man1/
@@ -146,8 +146,6 @@ stdenv.mkDerivation ({
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -72,8 +72,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -86,5 +86,4 @@ stdenv.mkDerivation {
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/linux/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -37,8 +37,6 @@ stdenv.mkDerivation {
"-DLIBCXX_CXX_ABI=libcxxabi"
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1";
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -17,8 +17,6 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -51,8 +51,6 @@ stdenv.mkDerivation {
"-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic
];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/man/man1
cp ../docs/lldb.1 $out/share/man/man1/
@@ -145,8 +145,6 @@ stdenv.mkDerivation ({
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -83,8 +83,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -89,5 +89,4 @@ stdenv.mkDerivation {
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/linux/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -38,8 +38,6 @@ stdenv.mkDerivation {
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1"
++ stdenv.lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF" ;
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -17,8 +17,6 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -52,8 +52,6 @@ stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-I${libxml2.dev}/include/libxml2";
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/man/man1
cp ../docs/lldb.1 $out/share/man/man1/
@@ -167,8 +167,6 @@ in stdenv.mkDerivation ({
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -93,8 +93,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -87,5 +87,4 @@ stdenv.mkDerivation {
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -42,8 +42,6 @@ stdenv.mkDerivation {
"-DLIBCXX_ENABLE_EXCEPTIONS=OFF"
] ++ stdenv.lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF";
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -19,7 +19,5 @@ stdenv.mkDerivation {
})
];
enableParallelBuilding = true;
cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
}
@@ -17,8 +17,6 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -41,8 +41,6 @@ stdenv.mkDerivation {
"-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic
];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/man/man1
cp ../docs/lldb.1 $out/share/man/man1/
@@ -151,8 +151,6 @@ in stdenv.mkDerivation ({
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -88,8 +88,6 @@ let
rm $out/bin/c-index-test
'';
enableParallelBuilding = true;
passthru = {
isClang = true;
inherit llvm;
@@ -85,6 +85,4 @@ stdenv.mkDerivation rec {
ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o
ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o
'';
enableParallelBuilding = true;
}
@@ -38,8 +38,6 @@ stdenv.mkDerivation {
"-DLIBCXX_ENABLE_EXCEPTIONS=OFF"
] ++ stdenv.lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF";
enableParallelBuilding = true;
passthru = {
isLLVM = true;
};
@@ -8,7 +8,5 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
}
@@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
@@ -49,8 +49,6 @@ stdenv.mkDerivation rec {
"-DLLVM_EXTERNAL_LIT=${lit}/bin/lit"
];
enableParallelBuilding = true;
postInstall = ''
# man page
mkdir -p $out/share/man/man1
@@ -159,8 +159,6 @@ in stdenv.mkDerivation (rec {
checkTarget = "check-all";
enableParallelBuilding = true;
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
@@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
enableParallelBuilding = true;
meta = {
description = "Components required to build an executable OpenMP program";
homepage = "https://openmp.llvm.org/";
@@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
];
preConfigure = "cd dev";
enableParallelBuilding = true;
passthru = {
tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix {};
-2
View File
@@ -41,8 +41,6 @@ stdenv.mkDerivation {
"-DLLVM_BINUTILS_INCDIR=${libbfd.dev}/include"
] ++ stdenv.lib.optional (!isDarwin) "-DBUILD_SHARED_LIBS=ON";
enableParallelBuilding = true;
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies - Mono build";
homepage = "http://llvm.org/";
@@ -43,7 +43,6 @@ with stdenv; mkDerivation rec {
++ (lib.optional enableGui qtbase)
++ (lib.optional stdenv.cc.isClang llvmPackages.openmp);
enableParallelBuilding = true;
cmakeFlags =
[ "-DCURRENT_GIT_VERSION=${lib.substring 0 7 (lib.elemAt srcs 0).rev}"
"-DARCH=generic;ice40;ecp5"
@@ -83,8 +83,6 @@ stdenv.mkDerivation (rec {
++ stdenv.lib.optionals stdenv.isDarwin [ "bits=64" ]
++ stdenv.lib.optionals (stdenv.isDarwin && (!lto)) [ "lto=no" ];
enableParallelBuilding = true;
doCheck = true;
NIX_CFLAGS_COMPILE = [ "-Wno-error=redundant-move" "-Wno-error=implicit-fallthrough" ];
@@ -25,8 +25,6 @@ stdenv.mkDerivation rec {
unix/cmake/configure --prefix=$out --enable-mpg-{mmx,pthreads}
'';
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {