Merge pull request #186209 from gdinh/scalapack-darwin

scalapack: add darwin support

authored by markuskowa and committed by GitHub b1d515d7 ecada952

+14 -3
+6
maintainers/maintainer-list.nix
··· 4661 4661 githubId = 37017396; 4662 4662 name = "gbtb"; 4663 4663 }; 4664 + gdinh = { 4665 + email = "nix@contact.dinh.ai"; 4666 + github = "gdinh"; 4667 + githubId = 34658064; 4668 + name = "Grace Dinh"; 4669 + }; 4664 4670 gebner = { 4665 4671 email = "gebner@gebner.org"; 4666 4672 github = "gebner";
+8 -3
pkgs/development/libraries/science/math/scalapack/default.nix
··· 38 38 checkInputs = [ openssh ]; 39 39 buildInputs = [ blas lapack ]; 40 40 propagatedBuildInputs = [ mpi ]; 41 + hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; 41 42 42 - doCheck = true; 43 + # xslu and xsllt tests seem to time out on x86_64-darwin. 44 + # this line is left so those who force installation on x86_64-darwin can still build 45 + doCheck = !(stdenv.isx86_64 && stdenv.isDarwin); 43 46 44 47 preConfigure = '' 45 48 cmakeFlagsArray+=( ··· 73 76 homepage = "http://www.netlib.org/scalapack/"; 74 77 description = "Library of high-performance linear algebra routines for parallel distributed memory machines"; 75 78 license = licenses.bsd3; 76 - platforms = [ "x86_64-linux" ]; 77 - maintainers = with maintainers; [ costrouc markuskowa ]; 79 + platforms = platforms.unix; 80 + maintainers = with maintainers; [ costrouc markuskowa gdinh ]; 81 + # xslu and xsllt tests fail on x86 darwin 82 + broken = stdenv.isDarwin && stdenv.isx86_64; 78 83 }; 79 84 }