#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:                     |
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work


Comment:

 Full log:
 
http://build.sagedev.org/release/builders/%20%20fast%20Volker%20Desktop%20%28Fedora%2022%20x86_64%29%20incremental/builds/458/steps/compile/logs/stdio
 {{{
 /mnt/disk/home/buildslave-
 
sage/slave/sage_git/build/local/var/tmp/sage/build/numpy-1.10.4.p1/src/numpy/distutils/system_info.py:1651:
 UserWarning:
     Atlas (http://math-atlas.sourceforge.net/) libraries not found.
     Directories to search for the libraries can be specified in the
     numpy/distutils/site.cfg file (section [atlas]) or by setting
     the ATLAS environment variable.
   warnings.warn(AtlasNotFoundError.__doc__)
 blas_info:
 /mnt/disk/home/buildslave-
 
sage/slave/sage_git/build/local/var/tmp/sage/build/numpy-1.10.4.p1/src/numpy/distutils/system_info.py:635:
 UserWarning: Specified path  is invalid.
   warnings.warn('Specified path %s is invalid.' % d)
 C compiler: cc

 creating /tmp/tmpX0K4bQ/tmp
 creating /tmp/tmpX0K4bQ/tmp/tmpX0K4bQ
 compile options: '-c'
 cc: /tmp/tmpX0K4bQ/source.c
 cc /tmp/tmpX0K4bQ/tmp/tmpX0K4bQ/source.o -L/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib -lcblas -o /tmp/tmpX0K4bQ/a.out
 /usr/bin/ld: warning: libatlas.so.3, needed by /mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib/libcblas.so, not found (try using
 -rpath or -rpath-link)
 }}}
 It is missing the `-latlas` for some reason, though it is in the
 `cblas.pc`
 {{{
 $ pkg-config --libs cblas
 -L/mnt/disk/home/buildslave-sage/slave/sage_git/build/local/lib -lcblas
 -latlas
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20157#comment:10>
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.

Reply via email to