Unverified Commit b1d515d7 authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #186209 from gdinh/scalapack-darwin

scalapack: add darwin support
parents ecada952 2464f69c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+8 −3
Original line number Diff line number Diff line
@@ -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;
  };
}