mctc-lib: fix openmp cores in checkPhase (#442441)

This commit is contained in:
Markus Kowalewski
2025-09-16 10:22:18 +02:00
committed by GitHub
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ let
grimmeCmake = lib.makeScope newScope (self: {
mctc-lib = mctc-lib.override {
buildType = "cmake";
inherit (self) jonquil toml-f;
inherit (self) jonquil;
};
toml-f = toml-f.override {
-1
View File
@@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
gfortran,
buildType ? "meson",
cmake,
+4 -1
View File
@@ -9,7 +9,6 @@
cmake,
pkg-config,
python3,
toml-f,
jonquil,
}:
@@ -62,6 +61,10 @@ stdenv.mkDerivation rec {
doCheck = true;
preCheck = ''
export OMP_NUM_THREADS=2
'';
postPatch = ''
patchShebangs --build config/install-mod.py
'';
+1 -1
View File
@@ -51,7 +51,7 @@ assert builtins.elem gpuBackend [
];
assert enablePython -> pythonPackages != null;
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "SIRIUS";
version = "7.8.0-unstable-2025-07-23";
@@ -1,5 +1,4 @@
{
lib,
buildPythonPackage,
meson,
ninja,