#17075: Install blas pkgconfig files
-------------------------------+------------------------
       Reporter:  vbraun       |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-6.4
      Component:  build        |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------

Comment (by fbissey):

 Replying to [comment:5 jpflori]:
 > My only comment so far is that we should take care of the strange
 variable LINBOX_BLAS set up by linbox/fflas-ffpack, written in
 share/cblas_config, and used in modules_list.py IIRC.

 *yes* so the file is created by the fflas-ffpack spkg for consumption in
 linbox. fflas-ffpack provides a fflas-ffpack-config which you would think
 would help...
 {{{
 (sage-sh) fbissey@QCD-nzi3:sage-6.3.beta7$ fflas-ffpack-config --blas-libs
 -L/home/work/fbissey/sandbox/sage-6.3.beta7/local/lib -lcblas -latlas
 -L/home/work/fbissey/sandbox/sage-6.3.beta7/local/lib -llapack
 }}}
 And the problem with that output is lapack. My foggy memory tells me that
 configuring linbox with lapack leads to troubles in sage-on-gentoo (needs
 re-checking). If we move to .pc we can forget about the whole LINBOX_BLAS
 business. In sage-on-gentoo I patched fflas-ffpack to use pkg-config
 directly to find blas/cblas (but I commented lapack out)
 https://github.com/cschwan/sage-on-gentoo/blob/master/sci-libs/fflas-
 ffpack/files/fflas-ffpack-1.6.0-blaslapack-3.patch
 Strangely enough I don't need to do anything in linbox to pick up the
 right blas and I think the whole cblas-config is not useful in linbox
 because configure will call fflas-ffpack-config to get its values for
 BLAS_LIBS and BLAS_CFLAGS. I also cannot find a trace of cblas_config in
 module_list.py - that would have got my attention in sage-on-gentoo.

--
Ticket URL: <http://trac.sagemath.org/ticket/17075#comment:6>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to