Summary: | dev-python/cvxopt-1.1.5 always links against libblas in building 'cholmod' extension | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steven Trogdon <strogdon> |
Component: | [OLD] Library | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Steven Trogdon
2012-05-14 03:25:12 UTC
I believe in the cholmod extension section of cvxopt-1.1.5-setup.patch + libraries = ['cholmod','blas'], + define_macros = MACROS + [('NPARTITION', '1')], + sources = [ 'C/cholmod.c' ]) + there should be libraries = [ 'cholmod' ] + BLAS_LIB, (In reply to comment #1) > I believe in the cholmod extension section of cvxopt-1.1.5-setup.patch > > + libraries = ['cholmod','blas'], > + define_macros = MACROS + [('NPARTITION', '1')], > + sources = [ 'C/cholmod.c' ]) > + > > there should be > > libraries = [ 'cholmod' ] + BLAS_LIB, Well, I patched the patch last time this came up, but looking at it now, I don't understand what it is doing. I guess Sebastien should look at it. Sorry. + 24 May 2012; Sébastien Fabbro <bicatali@gentoo.org> + files/cvxopt-1.1.5-setup.patch: + fixed cholmod blas linking, thanks Steve Trogdon, bug #415827 + The updated patch has + libraries = ['cholmod'] + BLAS_LIBS, But shouldn't this be + libraries = ['cholmod'] + BLAS_LIB, No (S), since the unpatched setup.py has as variables # Default names of BLAS and LAPACK libraries BLAS_LIB = ['blas'] LAPACK_LIB = ['lapack'] BLAS_EXTRA_LINK_ARGS = [] OK, there's apparently no option to reopen a bug so let's try needinfo before opening a new bug. just fixed it and revbumped. thanks for the catch. |