diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-15 11:04:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 11:04:53 +0200 |
commit | 030938f1cdc0671cca7fabb18f2e9cc9a3045876 (patch) | |
tree | bfd1c58ca9c634bdf961c0e64fecddd06f434d9a /pkgs/development/libraries/science/math | |
parent | 88b7d613f58538d683d09f739ad12f9b27d9781e (diff) | |
parent | 4d03b1c02675382549d72c3d3a84331b0634f737 (diff) |
Merge pull request #311786 from josephst/clblas-stdlib
clblas: fix building on aarch64-darwin
Diffstat (limited to 'pkgs/development/libraries/science/math')
-rw-r--r-- | pkgs/development/libraries/science/math/clblas/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/science/math/clblas/default.nix b/pkgs/development/libraries/science/math/clblas/default.nix index a87d107b3a17f..dfa157d05d655 100644 --- a/pkgs/development/libraries/science/math/clblas/default.nix +++ b/pkgs/development/libraries/science/math/clblas/default.nix @@ -1,5 +1,6 @@ { lib, stdenv , fetchFromGitHub +, fetchpatch , cmake , gfortran , blas @@ -21,7 +22,13 @@ stdenv.mkDerivation rec { sha256 = "154mz52r5hm0jrp5fqrirzzbki14c1jkacj75flplnykbl36ibjs"; }; - patches = [ ./platform.patch ]; + patches = [ + ./platform.patch + (fetchpatch { + url = "https://github.com/clMathLibraries/clBLAS/commit/68ce5f0b824d7cf9d71b09bb235cf219defcc7b4.patch"; + hash = "sha256-XoVcHgJ0kTPysZbM83mUX4/lvXVHKbl7s2Q8WWiUnMs="; + }) + ]; postPatch = '' sed -i -re 's/(set\(\s*Boost_USE_STATIC_LIBS\s+).*/\1OFF\ \)/g' src/CMakeLists.txt |