Ticket #10509: trac_10509_cvxopt_patches_setup.py

File trac_10509_cvxopt_patches_setup.py, 850 bytes (added by vbraun, 11 years ago)

Patch against patches/setup.py to add cblas, f77blas and remove standalone blas

Line 
1--- ../../cvxopt-1.1.3/patches/setup.py 2010-12-02 18:01:00.000000000 +0000
2+++ setup.py    2010-12-22 13:57:12.688059003 +0000
3@@ -10,7 +10,7 @@
4 libdirs = [ATLAS_LIB_DIR]
5 
6 if os.popen('sage_fortran --version').read()[:3]=='G95':
7-    libraries = ['m','lapack','gsl','gslcblas','blas','f95']
8+    libraries = ['m','lapack','gsl','gslcblas','cblas','f77blas','f95']
9     GCC_LIB_DIR=SAGE_LIB
10     if os.path.exists(GCC_LIB_DIR + "/gcc-lib"):
11        GCC_LIB_DIR += "/gcc-lib/"
12@@ -20,7 +20,7 @@
13 elif os.environ['UNAME'] == 'CYGWIN':
14     libraries = ['lapack','gsl','gslcblas','blas', 'gfortran']   
15 else:
16-    libraries = ['m','lapack','gsl','blas','gslcblas','cblas','gfortran','atlas']
17+    libraries = ['m','lapack','gsl','gslcblas','cblas','f77blas','gfortran','atlas']
18 
19 
20 # Set to 1 if you are using the random number generators in the GNU