mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
openblas: Add enableStatic flag
This commit is contained in:
parent
43fda1c96d
commit
8d5864eb47
@ -7,6 +7,7 @@
|
||||
# Select a specific optimization target (other than the default)
|
||||
# See https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt
|
||||
, target ? null
|
||||
, enableStatic ? false
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@ -124,7 +125,7 @@ stdenv.mkDerivation rec {
|
||||
PREFIX = placeholder "out";
|
||||
NUM_THREADS = 64;
|
||||
INTERFACE64 = blas64;
|
||||
NO_STATIC = true;
|
||||
NO_STATIC = !enableStatic;
|
||||
CROSS = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
HOSTCC = "cc";
|
||||
# Makefile.system only checks defined status
|
||||
|
Loading…
Reference in New Issue
Block a user