forked from mirrors/nixpkgs
Merge pull request #186209 from gdinh/scalapack-darwin
scalapack: add darwin support
This commit is contained in:
commit
b1d515d7c4
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue