3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #186209 from gdinh/scalapack-darwin

scalapack: add darwin support
This commit is contained in:
markuskowa 2022-08-13 13:53:38 +02:00 committed by GitHub
commit b1d515d7c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 3 deletions

View file

@ -4661,6 +4661,12 @@
githubId = 37017396;
name = "gbtb";
};
gdinh = {
email = "nix@contact.dinh.ai";
github = "gdinh";
githubId = 34658064;
name = "Grace Dinh";
};
gebner = {
email = "gebner@gebner.org";
github = "gebner";

View file

@ -38,8 +38,11 @@ stdenv.mkDerivation rec {
checkInputs = [ openssh ];
buildInputs = [ blas lapack ];
propagatedBuildInputs = [ mpi ];
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
doCheck = true;
# xslu and xsllt tests seem to time out on x86_64-darwin.
# this line is left so those who force installation on x86_64-darwin can still build
doCheck = !(stdenv.isx86_64 && stdenv.isDarwin);
preConfigure = ''
cmakeFlagsArray+=(
@ -73,7 +76,9 @@ stdenv.mkDerivation rec {
homepage = "http://www.netlib.org/scalapack/";
description = "Library of high-performance linear algebra routines for parallel distributed memory machines";
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ costrouc markuskowa ];
platforms = platforms.unix;
maintainers = with maintainers; [ costrouc markuskowa gdinh ];
# xslu and xsllt tests fail on x86 darwin
broken = stdenv.isDarwin && stdenv.isx86_64;
};
}