treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType
This commit is contained in:
parent
f9b9cc2c4d
commit
fccf04b620
72 changed files with 59 additions and 92 deletions
|
@ -41,7 +41,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_INSTALL_BINDIR=bin"
|
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
--replace '/usr/bin/zenity' '${gnome.zenity}/bin/zenity'
|
--replace '/usr/bin/zenity' '${gnome.zenity}/bin/zenity'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DSFIZZ_TESTS=ON" ];
|
cmakeFlags = [ "-DSFIZZ_TESTS=ON" ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=" ];
|
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=" ];
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=$(out)" ];
|
installFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DBUILD_GUI_DEPS=ON"
|
"-DBUILD_GUI_DEPS=ON"
|
||||||
"-DReadline_ROOT_DIR=${readline.dev}"
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
||||||
];
|
];
|
||||||
|
|
|
@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optionals trezorSupport [ libusb1 protobuf python3 ];
|
++ lib.optionals trezorSupport [ libusb1 protobuf python3 ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DUSE_DEVICE_TREZOR=ON"
|
"-DUSE_DEVICE_TREZOR=ON"
|
||||||
"-DBUILD_GUI_DEPS=ON"
|
"-DBUILD_GUI_DEPS=ON"
|
||||||
"-DReadline_ROOT_DIR=${readline.dev}"
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
||||||
|
|
|
@ -58,7 +58,6 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optionals trezorSupport [ libusb1 protobuf python3 ];
|
++ lib.optionals trezorSupport [ libusb1 protobuf python3 ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DUSE_DEVICE_TREZOR=ON"
|
"-DUSE_DEVICE_TREZOR=ON"
|
||||||
"-DBUILD_GUI_DEPS=ON"
|
"-DBUILD_GUI_DEPS=ON"
|
||||||
"-DReadline_ROOT_DIR=${readline.dev}"
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
||||||
|
|
|
@ -47,7 +47,6 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optionals trezorSupport [ libusb1 protobuf python3 ];
|
] ++ lib.optionals trezorSupport [ libusb1 protobuf python3 ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
# "-DUSE_DEVICE_TREZOR=ON"
|
# "-DUSE_DEVICE_TREZOR=ON"
|
||||||
# "-DBUILD_GUI_DEPS=ON"
|
# "-DBUILD_GUI_DEPS=ON"
|
||||||
"-DReadline_ROOT_DIR=${readline.dev}"
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
||||||
|
|
|
@ -115,7 +115,6 @@ in
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DRSTUDIO_TARGET=${if server then "Server" else "Desktop"}"
|
"-DRSTUDIO_TARGET=${if server then "Server" else "Desktop"}"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DRSTUDIO_USE_SYSTEM_SOCI=ON"
|
"-DRSTUDIO_USE_SYSTEM_SOCI=ON"
|
||||||
"-DRSTUDIO_USE_SYSTEM_BOOST=ON"
|
"-DRSTUDIO_USE_SYSTEM_BOOST=ON"
|
||||||
"-DRSTUDIO_USE_SYSTEM_YAML_CPP=ON"
|
"-DRSTUDIO_USE_SYSTEM_YAML_CPP=ON"
|
||||||
|
|
|
@ -44,7 +44,6 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE='Release'"
|
|
||||||
"-DENABLE_FFMPEG='true'"
|
"-DENABLE_FFMPEG='true'"
|
||||||
"-DENABLE_LINK='true'"
|
"-DENABLE_LINK='true'"
|
||||||
"-DSYSCONFDIR=etc"
|
"-DSYSCONFDIR=etc"
|
||||||
|
|
|
@ -34,7 +34,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBRLCAD_ENABLE_STRICT=OFF"
|
"-DBRLCAD_ENABLE_STRICT=OFF"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -47,10 +47,11 @@ mkDerivation rec {
|
||||||
--replace 'PYTHONPATH=''${_krita_python_path}' 'PYTHONPATH=${pythonPath}'
|
--replace 'PYTHONPATH=''${_krita_python_path}' 'PYTHONPATH=${pythonPath}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = "RelWithDebInfo";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/${python3Packages.python.sitePackages}/PyQt5/bindings"
|
"-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/${python3Packages.python.sitePackages}/PyQt5/bindings"
|
||||||
"-DPYQT_SIP_DIR_OVERRIDE=${python3Packages.pyqt5}/${python3Packages.python.sitePackages}/PyQt5/bindings"
|
"-DPYQT_SIP_DIR_OVERRIDE=${python3Packages.pyqt5}/${python3Packages.python.sitePackages}/PyQt5/bindings"
|
||||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
|
|
|
@ -45,7 +45,6 @@ in stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DPARAVIEW_ENABLE_FFMPEG=ON"
|
"-DPARAVIEW_ENABLE_FFMPEG=ON"
|
||||||
"-DPARAVIEW_ENABLE_GDAL=ON"
|
"-DPARAVIEW_ENABLE_GDAL=ON"
|
||||||
"-DPARAVIEW_ENABLE_MOTIONFX=ON"
|
"-DPARAVIEW_ENABLE_MOTIONFX=ON"
|
||||||
|
|
|
@ -40,9 +40,10 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace src/CMakeLists.txt --replace '@libirc_includes@' '${libirc.out}'
|
substituteInPlace src/CMakeLists.txt --replace '@libirc_includes@' '${libirc.out}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = "None";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-S" "/build/source/src"
|
"-S" "/build/source/src"
|
||||||
"-DCMAKE_BUILD_TYPE=None"
|
|
||||||
"-DINSTALL_DATA_DIR=bin"
|
"-DINSTALL_DATA_DIR=bin"
|
||||||
"-DQT5_BUILD=ON"
|
"-DQT5_BUILD=ON"
|
||||||
"-DWEB_ENGINE=ON"
|
"-DWEB_ENGINE=ON"
|
||||||
|
|
|
@ -52,9 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeBuildType = "MinSizeRel";
|
||||||
"-DCMAKE_BUILD_TYPE=MinSizeRel"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/keyleds/keyleds";
|
homepage = "https://github.com/keyleds/keyleds";
|
||||||
|
|
|
@ -46,7 +46,6 @@ in
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=RELEASE"
|
|
||||||
"-DSDK_ARUCO_LIBPATH=${aruco}/lib/libaruco.a"
|
"-DSDK_ARUCO_LIBPATH=${aruco}/lib/libaruco.a"
|
||||||
"-DSDK_XPLANE=${xplaneSdk}"
|
"-DSDK_XPLANE=${xplaneSdk}"
|
||||||
];
|
];
|
||||||
|
|
|
@ -42,7 +42,6 @@ mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DQV2RAY_DISABLE_AUTO_UPDATE=on"
|
"-DQV2RAY_DISABLE_AUTO_UPDATE=on"
|
||||||
"-DQV2RAY_USE_V5_CORE=on"
|
"-DQV2RAY_USE_V5_CORE=on"
|
||||||
"-DQV2RAY_TRANSLATION_PATH=${placeholder "out"}/share/qv2ray/lang"
|
"-DQV2RAY_TRANSLATION_PATH=${placeholder "out"}/share/qv2ray/lang"
|
||||||
|
|
|
@ -38,9 +38,7 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optional usePython python.pkgs.numpy;
|
propagatedBuildInputs = lib.optional usePython python.pkgs.numpy;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = lib.optional usePython "-DUSE_PYTHON_CONFIG=ON";
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
] ++ lib.optional usePython "-DUSE_PYTHON_CONFIG=ON";
|
|
||||||
|
|
||||||
# https://github.com/pothosware/SoapySDR/issues/352
|
# https://github.com/pothosware/SoapySDR/issues/352
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ zlib rocksdb rapidjson ];
|
buildInputs = [ zlib rocksdb rapidjson ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DPORTABLE=off"
|
"-DPORTABLE=off"
|
||||||
"-DRAPIDJSON_HOME=${rapidjson}"
|
"-DRAPIDJSON_HOME=${rapidjson}"
|
||||||
"-DROCKSDB_HOME=${rocksdb}"
|
"-DROCKSDB_HOME=${rocksdb}"
|
||||||
|
|
|
@ -104,7 +104,6 @@ stdenv.mkDerivation rec {
|
||||||
"-DKICAD_BUILD_QA_TESTS=OFF"
|
"-DKICAD_BUILD_QA_TESTS=OFF"
|
||||||
]
|
]
|
||||||
++ optionals (debug) [
|
++ optionals (debug) [
|
||||||
"-DCMAKE_BUILD_TYPE=Debug"
|
|
||||||
"-DKICAD_STDLIB_DEBUG=ON"
|
"-DKICAD_STDLIB_DEBUG=ON"
|
||||||
"-DKICAD_USE_VALGRIND=ON"
|
"-DKICAD_USE_VALGRIND=ON"
|
||||||
]
|
]
|
||||||
|
@ -115,6 +114,8 @@ stdenv.mkDerivation rec {
|
||||||
"-DKICAD_SANITIZE_THREADS=ON"
|
"-DKICAD_SANITIZE_THREADS=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeBuildType = if debug then "Debug" else "Release";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
doxygen
|
doxygen
|
||||||
|
|
|
@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DGLAD_REPRODUCIBLE=On"
|
"-DGLAD_REPRODUCIBLE=On"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -35,9 +35,8 @@ stdenv.mkDerivation rec {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
patchShebangs ./src/
|
patchShebangs ./src/
|
||||||
'';
|
'';
|
||||||
cmakeFlags = [
|
|
||||||
"-DCMAKE_BUILD_TYPE=Production"
|
cmakeBuildType = "Production";
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A high-performance theorem prover and SMT solver";
|
description = "A high-performance theorem prover and SMT solver";
|
||||||
|
|
|
@ -21,8 +21,9 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs ./src/
|
patchShebangs ./src/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = "Production";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Production"
|
|
||||||
"-DBUILD_SHARED_LIBS=1"
|
"-DBUILD_SHARED_LIBS=1"
|
||||||
"-DANTLR3_JAR=${antlr3_4}/lib/antlr/antlr-3.4-complete.jar"
|
"-DANTLR3_JAR=${antlr3_4}/lib/antlr/antlr-3.4-complete.jar"
|
||||||
];
|
];
|
||||||
|
|
|
@ -72,10 +72,11 @@ in stdenv.mkDerivation rec {
|
||||||
(lit.override { python = kleePython; })
|
(lit.override { python = kleePython; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeBuildType = if debug then "Debug" else if !debug && includeDebugInfo then "RelWithDebInfo" else "MinSizeRel";
|
||||||
|
|
||||||
cmakeFlags = let
|
cmakeFlags = let
|
||||||
onOff = val: if val then "ON" else "OFF";
|
onOff = val: if val then "ON" else "OFF";
|
||||||
in [
|
in [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else if !debug && includeDebugInfo then "RelWithDebInfo" else "MinSizeRel"}"
|
|
||||||
"-DKLEE_RUNTIME_BUILD_TYPE=${if debugRuntime then "Debug" else "Release"}"
|
"-DKLEE_RUNTIME_BUILD_TYPE=${if debugRuntime then "Debug" else "Release"}"
|
||||||
"-DLLVMCC=${clang}/bin/clang"
|
"-DLLVMCC=${clang}/bin/clang"
|
||||||
"-DLLVMCXX=${clang}/bin/clang++"
|
"-DLLVMCXX=${clang}/bin/clang++"
|
||||||
|
|
|
@ -49,7 +49,6 @@ stdenv.mkDerivation rec {
|
||||||
'' ;
|
'' ;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DENABLE_DEPLOY_DEPENDENCIES=OFF"
|
"-DENABLE_DEPLOY_DEPENDENCIES=OFF"
|
||||||
"-DUSE_SYSTEM_FLATBUFFERS_LIBS=ON"
|
"-DUSE_SYSTEM_FLATBUFFERS_LIBS=ON"
|
||||||
"-DUSE_SYSTEM_PROTO_LIBS=ON"
|
"-DUSE_SYSTEM_PROTO_LIBS=ON"
|
||||||
|
|
|
@ -72,7 +72,6 @@ mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DQTROOT=${qtbase}"
|
"-DQTROOT=${qtbase}"
|
||||||
"-GNinja"
|
"-GNinja"
|
||||||
] ++ lib.optionals (!withDbus) [
|
] ++ lib.optionals (!withDbus) [
|
||||||
|
|
|
@ -34,7 +34,9 @@ in mkDerivation rec {
|
||||||
ln -s ${webClientTv} build/dependencies/web-client-tv-${webClientTvBuildId}.tar.xz
|
ln -s ${webClientTv} build/dependencies/web-client-tv-${webClientTvBuildId}.tar.xz
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DQTROOT=${qtbase}" ];
|
cmakeBuildType = "RelWithDebInfo";
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DQTROOT=${qtbase}" ];
|
||||||
|
|
||||||
# plexmediaplayer currently segfaults under wayland
|
# plexmediaplayer currently segfaults under wayland
|
||||||
qtWrapperArgs = [ "--set" "QT_QPA_PLATFORM" "xcb" ];
|
qtWrapperArgs = [ "--set" "QT_QPA_PLATFORM" "xcb" ];
|
||||||
|
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-k+rG5AZjz47Q6bpVcTK7r4s7Avg3O+1iw+skK+cn0rk=";
|
hash = "sha256-k+rG5AZjz47Q6bpVcTK7r4s7Avg3O+1iw+skK+cn0rk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
|
cmakeBuildType = if debug then "Debug" else "Release";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
|
|
@ -23,7 +23,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_INSTALL_PREFIX=$out"
|
"-DCMAKE_INSTALL_PREFIX=$out"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DBUILD_TESTING=OFF"
|
"-DBUILD_TESTING=OFF"
|
||||||
"-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
|
"-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
|
||||||
];
|
];
|
||||||
|
|
|
@ -68,7 +68,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DD_FLAGS=-d-version=TZDatabaseDir;-d-version=LibcurlPath;-J${pathConfig}"
|
"-DD_FLAGS=-d-version=TZDatabaseDir;-d-version=LibcurlPath;-J${pathConfig}"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
|
|
|
@ -204,6 +204,8 @@ in stdenv.mkDerivation (rec {
|
||||||
ln -sv $PWD/lib $out
|
ln -sv $PWD/lib $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -219,7 +221,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -212,6 +212,8 @@ in stdenv.mkDerivation (rec {
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -227,7 +229,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -202,6 +202,8 @@ in stdenv.mkDerivation (rec {
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -217,7 +219,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -164,6 +164,8 @@ in stdenv.mkDerivation (rec {
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -179,7 +181,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -162,6 +162,8 @@ in stdenv.mkDerivation (rec {
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -177,7 +179,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -298,6 +298,8 @@ in stdenv.mkDerivation (rec {
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -313,7 +315,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -286,6 +286,8 @@ in
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -301,7 +303,6 @@ in
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -141,6 +141,8 @@ stdenv.mkDerivation (rec {
|
||||||
ln -sv $PWD/lib $out
|
ln -sv $PWD/lib $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -156,7 +158,6 @@ stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -161,6 +161,8 @@ stdenv.mkDerivation (rec {
|
||||||
ln -sv $PWD/lib $out
|
ln -sv $PWD/lib $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -176,7 +178,6 @@ stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -179,6 +179,8 @@ in stdenv.mkDerivation (rec {
|
||||||
ln -sv $PWD/lib $out
|
ln -sv $PWD/lib $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -194,7 +196,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -178,6 +178,8 @@ in stdenv.mkDerivation (rec {
|
||||||
ln -sv $PWD/lib $out
|
ln -sv $PWD/lib $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -193,7 +195,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -193,6 +193,8 @@ in stdenv.mkDerivation (rec {
|
||||||
ln -sv $PWD/lib $out
|
ln -sv $PWD/lib $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -208,7 +210,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -283,6 +283,8 @@ in stdenv.mkDerivation (rec {
|
||||||
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
# E.g. mesa.drivers use the build-id as a cache key (see #93946):
|
||||||
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1";
|
||||||
|
|
||||||
|
cmakeBuildType = if debugVersion then "Debug" else "Release";
|
||||||
|
|
||||||
cmakeFlags = with stdenv; let
|
cmakeFlags = with stdenv; let
|
||||||
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
# These flags influence llvm-config's BuildVariables.inc in addition to the
|
||||||
# general build. We need to make sure these are also passed via
|
# general build. We need to make sure these are also passed via
|
||||||
|
@ -298,7 +300,6 @@ in stdenv.mkDerivation (rec {
|
||||||
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
"-DLLVM_LINK_LLVM_DYLIB=ON"
|
||||||
];
|
];
|
||||||
in flagsForLlvmConfig ++ [
|
in flagsForLlvmConfig ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
|
|
||||||
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
"-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
|
||||||
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||||
"-DLLVM_ENABLE_FFI=ON"
|
"-DLLVM_ENABLE_FFI=ON"
|
||||||
|
|
|
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DFLATCC_INSTALL=on"
|
"-DFLATCC_INSTALL=on"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
|
|
|
@ -36,7 +36,6 @@ stdenv.mkDerivation rec {
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||||
"-DCMAKE_BUILD_TYPE:String=Release"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
passthru.updateScript = gitUpdater {
|
||||||
|
|
|
@ -16,10 +16,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
];
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
echo "***Muparserx self-test***"
|
echo "***Muparserx self-test***"
|
||||||
|
|
|
@ -133,7 +133,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DABSL_ENABLE_INSTALL=ON"
|
"-DABSL_ENABLE_INSTALL=ON"
|
||||||
"-DCMAKE_BUILD_TYPE=RELEASE"
|
|
||||||
"-DFETCHCONTENT_FULLY_DISCONNECTED=ON"
|
"-DFETCHCONTENT_FULLY_DISCONNECTED=ON"
|
||||||
"-DFETCHCONTENT_QUIET=OFF"
|
"-DFETCHCONTENT_QUIET=OFF"
|
||||||
"-DFETCHCONTENT_SOURCE_DIR_ABSEIL_CPP=${abseil-cpp.src}"
|
"-DFETCHCONTENT_SOURCE_DIR_ABSEIL_CPP=${abseil-cpp.src}"
|
||||||
|
|
|
@ -58,9 +58,7 @@ stdenv.mkDerivation rec {
|
||||||
qttools
|
qttools
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeBuildType = if debug then "Debug" else "Release";
|
||||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://phonon.kde.org/";
|
homepage = "https://phonon.kde.org/";
|
||||||
|
|
|
@ -28,9 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeBuildType = if debug then "Debug" else "Release";
|
||||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://community.kde.org/Phonon";
|
homepage = "https://community.kde.org/Phonon";
|
||||||
|
|
|
@ -52,9 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = "-fPIC";
|
env.NIX_CFLAGS_COMPILE = "-fPIC";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeBuildType = if debug then "Debug" else "Release";
|
||||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
|
||||||
];
|
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
"-DREPROC++=ON"
|
"-DREPROC++=ON"
|
||||||
|
|
|
@ -49,8 +49,6 @@ stdenv.mkDerivation rec {
|
||||||
simd
|
simd
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A real-time noise suppression plugin for voice based on Xiph's RNNoise";
|
description = "A real-time noise suppression plugin for voice based on Xiph's RNNoise";
|
||||||
homepage = "https://github.com/werman/noise-suppression-for-voice";
|
homepage = "https://github.com/werman/noise-suppression-for-voice";
|
||||||
|
|
|
@ -28,8 +28,9 @@ stdenv.mkDerivation rec {
|
||||||
breakpad
|
breakpad
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeBuildType = "RelWithDebInfo";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
||||||
"-DSENTRY_BREAKPAD_SYSTEM=On"
|
"-DSENTRY_BREAKPAD_SYSTEM=On"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ buildPythonPackage rec {
|
||||||
nativeCheckInputs = [ pytest ];
|
nativeCheckInputs = [ pytest ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DWITH_GUDHI_PYTHON=ON"
|
"-DWITH_GUDHI_PYTHON=ON"
|
||||||
"-DPython_ADDITIONAL_VERSIONS=3"
|
"-DPython_ADDITIONAL_VERSIONS=3"
|
||||||
];
|
];
|
||||||
|
|
|
@ -41,7 +41,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DWASMEDGE_BUILD_TESTS=OFF" # Tests are downloaded using git
|
"-DWASMEDGE_BUILD_TESTS=OFF" # Tests are downloaded using git
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
"-DWASMEDGE_FORCE_DISABLE_LTO=ON"
|
"-DWASMEDGE_FORCE_DISABLE_LTO=ON"
|
||||||
|
|
|
@ -100,7 +100,6 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DCROSS_COMPILE32=0"
|
"-DCROSS_COMPILE32=0"
|
||||||
"-DBUILD_SERVER=1"
|
"-DBUILD_SERVER=1"
|
||||||
"-DBUILD_CLIENT=1"
|
"-DBUILD_CLIENT=1"
|
||||||
|
|
|
@ -38,7 +38,6 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DGPL=ON"
|
"-DGPL=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,6 @@ stdenv.mkDerivation rec {
|
||||||
SDL2
|
SDL2
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
|
|
@ -20,8 +20,6 @@ stdenv.mkDerivation rec {
|
||||||
SDL2
|
SDL2
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
|
|
@ -26,7 +26,6 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DCRABNET_ENABLE_DLL=OFF"
|
"-DCRABNET_ENABLE_DLL=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
SDL2
|
SDL2
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,6 @@ stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
# The non-free (Debian) packages uses this directory structure so do the same when compiling
|
# The non-free (Debian) packages uses this directory structure so do the same when compiling
|
||||||
# from source so we can easily merge them.
|
# from source so we can easily merge them.
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib/${system}-gnu"
|
"-DCMAKE_INSTALL_LIBDIR=lib/${system}-gnu"
|
||||||
|
|
|
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE='Release'"
|
|
||||||
"-DBUILD_EXAMPLES='OFF'"
|
"-DBUILD_EXAMPLES='OFF'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,6 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DUSE_BUILTIN_MQTT=false"
|
"-DUSE_BUILTIN_MQTT=false"
|
||||||
"-DUSE_BUILTIN_LUA=false"
|
"-DUSE_BUILTIN_LUA=false"
|
||||||
"-DUSE_BUILTIN_SQLITE=false"
|
"-DUSE_BUILTIN_SQLITE=false"
|
||||||
|
|
|
@ -62,10 +62,11 @@ gcc10Stdenv.mkDerivation rec {
|
||||||
patchShebangs utils
|
patchShebangs utils
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeBuildType = "RelWithDebInfo";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DUSE_MAINTAINER_MODE=OFF"
|
"-DUSE_MAINTAINER_MODE=OFF"
|
||||||
"-DUSE_GOOGLE_TESTS=OFF"
|
"-DUSE_GOOGLE_TESTS=OFF"
|
||||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
||||||
|
|
||||||
# avoid reading /proc/cpuinfo for feature detection
|
# avoid reading /proc/cpuinfo for feature detection
|
||||||
"-DTARGET_ARCHITECTURE=${targetArch}"
|
"-DTARGET_ARCHITECTURE=${targetArch}"
|
||||||
|
|
|
@ -38,8 +38,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
cmakeBuildType = "RelWithDebInfo";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
||||||
"-DENABLE_DIST=ON"
|
"-DENABLE_DIST=ON"
|
||||||
"-DTARANTOOL_VERSION=${version}.builtByNix" # expects the commit hash as well
|
"-DTARANTOOL_VERSION=${version}.builtByNix" # expects the commit hash as well
|
||||||
];
|
];
|
||||||
|
|
|
@ -40,8 +40,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
cmakeBuildType = "RelWithDebInfo";
|
||||||
|
|
||||||
cmakeFlags = isaFlags ++ [
|
cmakeFlags = isaFlags ++ [
|
||||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
||||||
"-DASTCENC_UNIVERSAL_BUILD=OFF"
|
"-DASTCENC_UNIVERSAL_BUILD=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ boost clingo re2c ];
|
buildInputs = [ boost clingo re2c ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DASPCUD_GRINGO_PATH=${clingo}/bin/gringo"
|
"-DASPCUD_GRINGO_PATH=${clingo}/bin/gringo"
|
||||||
"-DASPCUD_CLASP_PATH=${clingo}/bin/clasp"
|
"-DASPCUD_CLASP_PATH=${clingo}/bin/clasp"
|
||||||
];
|
];
|
||||||
|
|
|
@ -51,7 +51,6 @@ mkDerivation rec {
|
||||||
"-DPYTHON_LIBRARY=${python}/lib/lib${python.libPrefix}.so"
|
"-DPYTHON_LIBRARY=${python}/lib/lib${python.libPrefix}.so"
|
||||||
"-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}"
|
"-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}"
|
||||||
"-DCMAKE_VERBOSE_MAKEFILE=True"
|
"-DCMAKE_VERBOSE_MAKEFILE=True"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DWITH_PYTHONQT:BOOL=ON"
|
"-DWITH_PYTHONQT:BOOL=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,9 @@ stdenv.mkDerivation rec {
|
||||||
darwin.apple_sdk.frameworks.AppKit
|
darwin.apple_sdk.frameworks.AppKit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeBuildType = "MinSizeRel";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE='MinSizeRel'"
|
|
||||||
"-Wno-dev"
|
"-Wno-dev"
|
||||||
"-DINSTALL_PREFIX=${placeholder "out"}"
|
"-DINSTALL_PREFIX=${placeholder "out"}"
|
||||||
];
|
];
|
||||||
|
|
|
@ -39,8 +39,6 @@ stdenv.mkDerivation {
|
||||||
yaml-cpp
|
yaml-cpp
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@ stdenv.mkDerivation rec {
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=RELEASE"
|
|
||||||
"-DINTERNAL_LXQT_WALLET=false"
|
"-DINTERNAL_LXQT_WALLET=false"
|
||||||
"-DNOKDESUPPORT=${if withKWallet then "false" else "true"}"
|
"-DNOKDESUPPORT=${if withKWallet then "false" else "true"}"
|
||||||
"-DNOSECRETSUPPORT=${if withLibsecret then "false" else "true"}"
|
"-DNOSECRETSUPPORT=${if withLibsecret then "false" else "true"}"
|
||||||
|
|
|
@ -38,7 +38,6 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = with lib; [
|
cmakeFlags = with lib; [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DBUILD_TESTING=ON"
|
"-DBUILD_TESTING=ON"
|
||||||
"-DUSE_LIBUDEV_OVER_LIBSYSTEMD=ON"
|
"-DUSE_LIBUDEV_OVER_LIBSYSTEMD=ON"
|
||||||
] ++ optional nvidia "-DNVML_INCLUDE_DIRS=${cudatoolkit}/include"
|
] ++ optional nvidia "-DNVML_INCLUDE_DIRS=${cudatoolkit}/include"
|
||||||
|
|
Loading…
Reference in a new issue