Unverified Commit 10b2c7a3 authored by Markus Kowalewski's avatar Markus Kowalewski Committed by GitHub
Browse files

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

parents 8bc50699 e2ee5e66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  gfortran,
  buildType ? "meson",
  cmake,
+4 −1
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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";

+0 −1
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  meson,
  ninja,