Skip to content

Commit

Permalink
fix: pin hwloc because petsc test no longer pass with hwloc 2.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Conni2461 committed Aug 28, 2023
1 parent ad01c08 commit 185314c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions precice-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
};
});

# We need to pin hwloc otherwise petsc no longer builds
hwloc = super.hwloc.overrideAttrs (oA: rec {
version = "2.9.1";

src = super.fetchurl {
url = "https://www.open-mpi.org/software/hwloc/v${super.lib.versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2";
sha256 = "sha256-fMSTGiD+9Ffgkzrz83W+bq+ncD/eIeE3v7loWxQJWZ4=";
};
});

pyprecice = super.callPackage ./pyprecice { };
petsc4py = super.callPackage ./petsc4py { };

Expand Down

0 comments on commit 185314c

Please sign in to comment.