mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
ipopt: build with openblas
This commit is contained in:
parent
089f9d6486
commit
74e4f6befa
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, unzip, blas, liblapack, gfortran }:
|
{ stdenv, fetchurl, unzip, openblas, gfortran }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.12.3";
|
version = "3.12.3";
|
||||||
@ -13,9 +13,14 @@ stdenv.mkDerivation rec {
|
|||||||
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
|
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-blas-lib=-lopenblas"
|
||||||
|
"--with-lapack-lib=-lopenblas"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
buildInputs = [ gfortran blas liblapack ];
|
buildInputs = [ gfortran openblas ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -13883,7 +13883,7 @@ let
|
|||||||
suitesparse_4_4 = callPackage ../development/libraries/science/math/suitesparse {};
|
suitesparse_4_4 = callPackage ../development/libraries/science/math/suitesparse {};
|
||||||
suitesparse = suitesparse_4_4;
|
suitesparse = suitesparse_4_4;
|
||||||
|
|
||||||
ipopt = callPackage ../development/libraries/science/math/ipopt { };
|
ipopt = callPackage ../development/libraries/science/math/ipopt { openblas = openblasCompat; };
|
||||||
|
|
||||||
### SCIENCE/MOLECULAR-DYNAMICS
|
### SCIENCE/MOLECULAR-DYNAMICS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user