scalapack: add darwin support

This commit is contained in:
Grace Dinh
2022-08-12 02:52:03 -07:00
parent 6ea4ce1184
commit fb24dd718f
@@ -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" ];
platforms = platforms.unix;
maintainers = with maintainers; [ costrouc markuskowa ];
# xslu and xsllt tests fail on x86 darwin
broken = stdenv.isDarwin && stdenv.isx86_64;
};
}