From 1b3d8eefe39f2b2944ebff6c3f88e88383ba0f6e Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 12 Jul 2018 11:48:29 -0500 Subject: [PATCH] openblas: backport another patch, fix crash w/Go and Octave Also fixes numpy crashing during tests w/musl. --- .../development/libraries/science/math/openblas/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix index 4630dc1b8dd..e00a5ca9f8d 100644 --- a/pkgs/development/libraries/science/math/openblas/default.nix +++ b/pkgs/development/libraries/science/math/openblas/default.nix @@ -125,6 +125,12 @@ stdenv.mkDerivation rec { url = "https://github.com/xianyi/OpenBLAS/commit/5f2a3c05cd0e3872be3c5686b9da6b627658eeb7.patch"; sha256 = "1qvxhk92likrshw6z6hjqxvkblwzgsbzis2b2f71bsvx9174qfk1"; }) + # Double "MAX_ALLOCATING_THREADS", fix with Go and Octave + # https://github.com/xianyi/OpenBLAS/pull/1663 (see also linked issue) + (fetchpatch { + url = "https://github.com/xianyi/OpenBLAS/commit/a49203b48c4a3d6f86413fc8c4b1fbfaa1946463.patch"; + sha256 = "0v6kjkbgbw7hli6xkism48wqpkypxmcqvxpx564snll049l2xzq2"; + }) ]; doCheck = true;