mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
julia: build dependencies with same openblas
This commit is contained in:
parent
aa4efac850
commit
3dcff36085
@ -5,11 +5,22 @@
|
||||
, libunwind, llvm, readline, utf8proc, zlib
|
||||
# standard library dependencies
|
||||
, double_conversion, fftwSinglePrec, fftw, glpk, gmp, mpfr, pcre
|
||||
# linear algebra
|
||||
, openblas, arpack, suitesparse
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
# All dependencies should use the same OpenBLAS.
|
||||
let
|
||||
arpack_ = arpack;
|
||||
suitesparse_ = suitesparse;
|
||||
in
|
||||
let
|
||||
arpack = arpack_.override { inherit openblas; };
|
||||
suitesparse = suitesparse_.override { inherit openblas; };
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "julia";
|
||||
version = "0.3.11";
|
||||
|
Loading…
Reference in New Issue
Block a user