about summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math/openblas
diff options
context:
space:
mode:
authorIvan Babrou <github@ivan.computer>2021-03-17 23:05:05 -0700
committerGitHub <noreply@github.com>2021-03-18 02:05:05 -0400
commit6c2c725485b7e851e4b68095905b67e7ecfc5051 (patch)
treecaaa71e3fafbb8220e11cb44e3f6aaadf6b99bb3 /pkgs/development/libraries/science/math/openblas
parentc7a1f01c95069bb2b5de66752206dd3977f1b7a5 (diff)
openblas: aarch64-darwin target support (#116672)
Diffstat (limited to 'pkgs/development/libraries/science/math/openblas')
-rw-r--r--pkgs/development/libraries/science/math/openblas/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix
index bd7b739bd77f5..23a82f483dc66 100644
--- a/pkgs/development/libraries/science/math/openblas/default.nix
+++ b/pkgs/development/libraries/science/math/openblas/default.nix
@@ -42,6 +42,14 @@ let
       USE_OPENMP = true;
     };
 
+    aarch64-darwin = {
+      BINARY = 64;
+      TARGET = setTarget "VORTEX";
+      DYNAMIC_ARCH = true;
+      USE_OPENMP = false;
+      MACOSX_DEPLOYMENT_TARGET = "11.0";
+    };
+
     aarch64-linux = {
       BINARY = 64;
       TARGET = setTarget "ARMV8";