treewide: remove BUILD_TESTING flag
This is now set by CMake
This commit is contained in:
parent
91f0c848f4
commit
6ed49262f5
19 changed files with 9 additions and 30 deletions
|
@ -12,10 +12,6 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1xiz4v6w30dsa7l4nk3jw3hxpkx71b0yaaj2k8s7xzgjif824bgl";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTING=OFF"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ];
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTING=OFF"
|
||||
"-DPYTHON_EXECUTABLE=${python}/bin/python"
|
||||
];
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ stdenv.mkDerivation {
|
|||
"-DBUILD_BIOMESH3D=1"
|
||||
"-DWITH_TETGEN=1"
|
||||
"-DBUILD_TYPE=Release"
|
||||
"-DBUILD_TESTING=0"
|
||||
"-DWITH_WXWIDGETS=ON"
|
||||
"-DITK_DIR=${itk}/lib/InsightToolkit"
|
||||
"-DGDCM_LIBRARY=${itk}/lib/libitkgdcm.a"
|
||||
|
|
|
@ -15,9 +15,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
buildInputs = [ itk vtk ];
|
||||
|
||||
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE"
|
||||
# as cmake otherwise tries to download test data:
|
||||
"-DBUILD_TESTING=FALSE" ];
|
||||
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ libminc ];
|
||||
propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ];
|
||||
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DBUILD_TESTING=FALSE" ];
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
|
||||
# testing broken: './minc_wrapper: Permission denied' from Testing/ellipse0.mnc
|
||||
|
||||
postFixup = ''
|
||||
|
@ -33,4 +33,3 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.free;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ ];
|
||||
|
||||
#cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" "-DBUILD_TESTING=FALSE" ];
|
||||
#cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBICPL_DIR=${bicpl}/lib" ];
|
||||
|
||||
doCheck = false;
|
||||
# internal_volume_io.h: No such file or directory
|
||||
|
|
|
@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-H.."
|
||||
"-DBUILD_TESTING=OFF"];
|
||||
cmakeFlags = [ "-H.." ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
|
||||
|
|
|
@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DBUILD_STATIC_LIBS=ON"
|
||||
"-DBUILD_TESTING=${if doCheck then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
|
|
@ -9,7 +9,6 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTING=OFF"
|
||||
"-DBUILD_EXAMPLES=OFF"
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DModule_ITKMINC=ON"
|
||||
|
|
|
@ -22,13 +22,12 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ zlib netcdf nifticlib hdf5 ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTING=${if doCheck then "ON" else "OFF"}"
|
||||
"-DLIBMINC_MINC1_SUPPORT=ON"
|
||||
"-DLIBMINC_BUILD_SHARED_LIBS=ON"
|
||||
"-DLIBMINC_USE_SYSTEM_NIFTI=ON"
|
||||
];
|
||||
|
||||
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
export LD_LIBRARY_PATH="$(pwd)" # see #22060
|
||||
ctest -E 'ezminc_rw_test|minc_conversion' --output-on-failure
|
||||
|
|
|
@ -19,7 +19,6 @@ let
|
|||
cmakeFlags =
|
||||
(args.cmakeFlags or [])
|
||||
++ [
|
||||
"-DBUILD_TESTING=OFF"
|
||||
("-DCMAKE_BUILD_TYPE=" + (if debug then "Debug" else "Release"))
|
||||
];
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libminc netpbm ];
|
||||
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" "-DBUILD_TESTING=FALSE" ];
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib" ];
|
||||
|
||||
doCheck = false;
|
||||
# internal_volume_io.h: No such file or directory
|
||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cmakeFlags = "-DWITH_VTK=ON -DBUILD_ALL_MODULES=ON -DBUILD_TESTING=ON";
|
||||
cmakeFlags = "-DWITH_VTK=ON -DBUILD_ALL_MODULES=ON";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
|
@ -40,8 +40,7 @@ stdenv.mkDerivation rec {
|
|||
# objects.
|
||||
cmakeFlags = [ "-DCMAKE_C_FLAGS=-fPIC" "-DCMAKE_CXX_FLAGS=-fPIC" ]
|
||||
++ optional (qtLib != null) [ "-DVTK_USE_QT:BOOL=ON" ]
|
||||
++ optional stdenv.isDarwin [ "-DBUILD_TESTING:BOOL=OFF"
|
||||
"-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" ];
|
||||
++ optional stdenv.isDarwin "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks";
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's|COMMAND vtkHashSource|COMMAND "DYLD_LIBRARY_PATH=''${VTK_BINARY_DIR}/lib" ''${VTK_BINARY_DIR}/bin/vtkHashSource-7.0|' ./Parallel/Core/CMakeLists.txt
|
||||
|
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
|||
# BUILD_OUL wants old linux headers for videodev.h, not available
|
||||
# in stdenv linux headers
|
||||
# BUILD_BRL fails to find open()
|
||||
cmakeFlags = "-DBUILD_TESTING=OFF -DBUILD_OUL=OFF -DBUILD_BRL=OFF -DBUILD_CONTRIB=OFF "
|
||||
cmakeFlags = "-DBUILD_OUL=OFF -DBUILD_BRL=OFF -DBUILD_CONTRIB=OFF "
|
||||
+ (if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
|
||||
else
|
||||
|
|
|
@ -10,7 +10,6 @@ let components = {
|
|||
hpmc = true;
|
||||
md = true;
|
||||
metal = true;
|
||||
testing = false;
|
||||
};
|
||||
onOffBool = b: if b then "ON" else "OFF";
|
||||
withMPI = (mpi != null);
|
||||
|
@ -44,7 +43,6 @@ stdenv.mkDerivation rec {
|
|||
"-DBUILD_HPMC=${onOffBool components.hpmc}"
|
||||
"-DBUILD_MD=${onOffBool components.md}"
|
||||
"-DBUILD_METAL=${onOffBool components.metal}"
|
||||
"-DBUILD_TESTING=${onOffBool components.testing}"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
|
|
@ -48,7 +48,6 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags = [
|
||||
"-DCRYFS_UPDATE_CHECKS=OFF"
|
||||
"-DBoost_USE_STATIC_LIBS=OFF" # this option is case sensitive
|
||||
"-DBUILD_TESTING=ON"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
|
|
@ -42,7 +42,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DBUILD_TESTING=ON"
|
||||
"-DHDF4_BUILD_TOOLS=ON"
|
||||
"-DHDF4_BUILD_UTILS=ON"
|
||||
"-DHDF4_BUILD_WITH_INSTALL_NAME=OFF"
|
||||
|
|
|
@ -87,7 +87,6 @@ in stdenv.mkDerivation rec {
|
|||
"-DUSE_SYSTEM_LIBARCHIVE=ON"
|
||||
"-DUSE_SYSTEM_GTEST=ON"
|
||||
"-DUSE_SYSTEM_MKSQUASHFS=ON"
|
||||
"-DBUILD_TESTING=${if doCheck then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
|
|
Loading…
Reference in a new issue