ieda: enableParallelBuilding & __structuredAttrs

This commit is contained in:
SandaruKasa
2026-06-16 01:18:44 +03:00
parent c93b6b6a17
commit b393a9f05e
+4 -5
View File
@@ -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;