julia: build dependencies with same openblas
This commit is contained in:
parent
aa4efac850
commit
3dcff36085
@ -5,11 +5,22 @@
|
|||||||
, libunwind, llvm, readline, utf8proc, zlib
|
, libunwind, llvm, readline, utf8proc, zlib
|
||||||
# standard library dependencies
|
# standard library dependencies
|
||||||
, double_conversion, fftwSinglePrec, fftw, glpk, gmp, mpfr, pcre
|
, double_conversion, fftwSinglePrec, fftw, glpk, gmp, mpfr, pcre
|
||||||
|
# linear algebra
|
||||||
, openblas, arpack, suitesparse
|
, openblas, arpack, suitesparse
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "julia";
|
pname = "julia";
|
||||||
version = "0.3.11";
|
version = "0.3.11";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user