ieda: enableParallelBuilding & __structuredAttrs
This commit is contained in:
@@ -81,12 +81,10 @@ stdenv.mkDerivation {
|
||||
(lib.cmakeBool "CMD_BUILD" true)
|
||||
(lib.cmakeBool "SANITIZER" false)
|
||||
(lib.cmakeBool "BUILD_STATIC_LIB" false)
|
||||
(lib.cmakeOptionType "filepath" "CMAKE_RUNTIME_OUTPUT_DIRECTORY" "${placeholder "out"}/bin")
|
||||
(lib.cmakeOptionType "filepath" "CMAKE_LIBRARY_OUTPUT_DIRECTORY" "${placeholder "out"}/lib")
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
cmakeFlags+=" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY:FILEPATH=$out/bin -DCMAKE_LIBRARY_OUTPUT_DIRECTORY:FILEPATH=$out/lib"
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
rustpkgs.iir-rust
|
||||
rustpkgs.sdf_parse
|
||||
@@ -130,7 +128,8 @@ stdenv.mkDerivation {
|
||||
|
||||
doInstallCheck = !stdenv.hostPlatform.isAarch64; # Tests will fail on aarch64-linux, wait for upstream fix: https://github.com/microsoft/onnxruntime/issues/10038
|
||||
|
||||
enableParallelBuild = true;
|
||||
enableParallelBuilding = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user