pythonPackages.cvxopt: build with openblas

This commit is contained in:
Thomas Tuegel 2015-06-11 19:35:35 -05:00
parent bc3217251e
commit 29db05132b
1 changed files with 6 additions and 1 deletions

View File

@ -1011,7 +1011,12 @@ let
sha256 = "f856ea2e9e2947abc1a6557625cc6b0e45228984f397a90c420b2f468dc4cb97";
};
doCheck = false;
buildInputs = with pkgs; [ liblapack blas ];
buildInputs = with pkgs; [ openblasCompat ];
preConfigure = ''
export CVXOPT_BLAS_LIB_DIR=${pkgs.openblasCompat}/lib
export CVXOPT_BLAS_LIB=openblas
export CVXOPT_LAPACK_LIB=openblas
'';
meta = {
homepage = "http://cvxopt.org/";
description = "Python Software for Convex Optimization";