about summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math/openblas
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-03-31 17:07:47 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-03-31 21:51:45 +0200
commit4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1 (patch)
treeaee22a58378cf746b87dc79e6a44f7b51dadb98f /pkgs/development/libraries/science/math/openblas
parenta4098c1133ebafd61752367a31904be8fb449c2a (diff)
downloadnixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.tar
nixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.tar.gz
nixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.tar.bz2
nixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.tar.lz
nixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.tar.xz
nixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.tar.zst
nixlib-4bd01c5cbd5bbc91050cc9ded817fbd94a5b82f1.zip
openblas_2_14: remove
because we don't need it for numpy anymore.
Diffstat (limited to 'pkgs/development/libraries/science/math/openblas')
-rw-r--r--pkgs/development/libraries/science/math/openblas/0.2.14.nix65
1 files changed, 0 insertions, 65 deletions
diff --git a/pkgs/development/libraries/science/math/openblas/0.2.14.nix b/pkgs/development/libraries/science/math/openblas/0.2.14.nix
deleted file mode 100644
index 2fac8a4db08b..000000000000
--- a/pkgs/development/libraries/science/math/openblas/0.2.14.nix
+++ /dev/null
@@ -1,65 +0,0 @@
-{ stdenv, fetchurl, gfortran, perl, which, config, coreutils
-# Most packages depending on openblas expect integer width to match pointer width,
-# but some expect to use 32-bit integers always (for compatibility with reference BLAS).
-, blas64 ? null
-}:
-
-with stdenv.lib;
-
-let blas64_ = blas64; in
-
-let local = config.openblas.preferLocalBuild or false;
-    binary =
-      { i686-linux = "32";
-        x86_64-linux = "64";
-        x86_64-darwin = "64";
-      }."${stdenv.system}" or (throw "unsupported system: ${stdenv.system}");
-    genericFlags =
-      [ "DYNAMIC_ARCH=1"
-        "NUM_THREADS=64"
-      ];
-    localFlags = config.openblas.flags or
-      optionals (hasAttr "target" config.openblas) [ "TARGET=${config.openblas.target}" ];
-    blas64 = if blas64_ != null then blas64_ else hasPrefix "x86_64" stdenv.system;
-
-    version = "0.2.14";
-in
-stdenv.mkDerivation {
-  name = "openblas-${version}";
-  src = fetchurl {
-    url = "https://github.com/xianyi/OpenBLAS/archive/v${version}.tar.gz";
-    sha256 = "2411c4f56f477b42dff54db2b7ffc0b7cf53bb9778d54982595c64cc69c40fc1";
-    name = "openblas-${version}.tar.gz";
-  };
-
-  inherit blas64;
-
-  nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl which];
-
-  makeFlags =
-    (if local then localFlags else genericFlags)
-    ++
-    optionals stdenv.isDarwin ["MACOSX_DEPLOYMENT_TARGET=10.9"]
-    ++
-    [
-      "FC=gfortran"
-      # Note that clang is available through the stdenv on OSX and
-      # thus is not an explicit dependency.
-      "CC=${if stdenv.isDarwin then "clang" else "gcc"}"
-      ''PREFIX="''$(out)"''
-      "BINARY=${binary}"
-      "USE_OPENMP=${if stdenv.isDarwin then "0" else "1"}"
-      "INTERFACE64=${if blas64 then "1" else "0"}"
-    ];
-
-  doCheck = true;
-  checkTarget = "tests";
-
-  meta = with stdenv.lib; {
-    description = "Basic Linear Algebra Subprograms";
-    license = licenses.bsd3;
-    homepage = "https://github.com/xianyi/OpenBLAS";
-    platforms = platforms.unix;
-    maintainers = with maintainers; [ ttuegel ];
-  };
-}