ipopt: build with openblas
This commit is contained in:
parent
089f9d6486
commit
74e4f6befa
2 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, unzip, blas, liblapack, gfortran }:
|
||||
{ stdenv, fetchurl, unzip, openblas, gfortran }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.12.3";
|
||||
|
@ -13,9 +13,14 @@ stdenv.mkDerivation rec {
|
|||
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-blas-lib=-lopenblas"
|
||||
"--with-lapack-lib=-lopenblas"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
buildInputs = [ gfortran blas liblapack ];
|
||||
buildInputs = [ gfortran openblas ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -13883,7 +13883,7 @@ let
|
|||
suitesparse_4_4 = callPackage ../development/libraries/science/math/suitesparse {};
|
||||
suitesparse = suitesparse_4_4;
|
||||
|
||||
ipopt = callPackage ../development/libraries/science/math/ipopt { };
|
||||
ipopt = callPackage ../development/libraries/science/math/ipopt { openblas = openblasCompat; };
|
||||
|
||||
### SCIENCE/MOLECULAR-DYNAMICS
|
||||
|
||||
|
|
Loading…
Reference in a new issue