#20157: make numpy and scipy use pkg-config to find blas/lapack
-------------------------------------+-------------------------------------
Reporter: fbissey | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers: Volker Braun
Authors: François Bissey | Work issues:
Report Upstream: N/A | Commit:
Branch: | 158fb8db9d1a112078ece92a6b33fe84fd9e6825
u/fbissey/numpy_scipy_pc | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fbissey):
OK I think there may be niceties in the linker. Here I get:
{{{
creating /tmp/tmpRM4d1X/tmp
creating /tmp/tmpRM4d1X/tmp/tmpRM4d1X
compile options: '-c'
cc: /tmp/tmpRM4d1X/source.c
cc /tmp/tmpRM4d1X/tmp/tmpRM4d1X/source.o -L/home/fbissey/sandbox/git-
fork/sage/local/lib -lcblas -o /tmp/tmpRM4d1X/a.out
FOUND:
libraries = ['cblas']
library_dirs = ['/home/fbissey/sandbox/git-fork/sage/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
FOUND:
libraries = ['cblas']
library_dirs = ['/home/fbissey/sandbox/git-fork/sage/local/lib']
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
language = c
}}}
So we have only `cblas` again. But my linker still resolves it from the
information in the `cblas` library.
I think there is a small bug (feature) in `numpy` that causes it to only
use a single library. I think I now which part of the Gentoo patch deals
with that,
--
Ticket URL: <http://trac.sagemath.org/ticket/20157#comment:14>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.