#12519: cvxopt should only add -lcblas when that library exists
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies:
------------------------+---------------------------------------------------
The following is Sage-specific code in cvxopt's `setup.py`:
{{{
if os.popen('sage_fortran --version').read()[:3]=='G95':
libraries = ['m','lapack','gsl','gslcblas','blas','f95']
GCC_LIB_DIR=SAGE_LIB
if os.path.exists(GCC_LIB_DIR + "/gcc-lib"):
GCC_LIB_DIR += "/gcc-lib/"
GCC_LIB_DIR += os.listdir(GCC_LIB_DIR)[0] + "/"
GCC_LIB_DIR += os.listdir(GCC_LIB_DIR)[0] + "/"
libdirs = [ATLAS_LIB_DIR,GCC_LIB_DIR]
elif os.environ['UNAME'] == 'CYGWIN':
libraries = ['lapack','gsl','gslcblas','blas', 'gfortran']
else:
libraries =
['m','lapack','gsl','blas','gslcblas','cblas','gfortran','atlas']
}}}
At the end, `cblas` is added, even though this isn't installed on Darwin.
This gives problem on OS X 10.4 with #12369 (without #12369, the first
"if" evaluates to True).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12519>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.