This ebuild will build shared and static versions of the netlib reference implementation of LAPACK. Please see the comments in bug 30453. It uses the lapack-config tool (bug 30460). I've tested building with and without USE="ifc". Either way, I can link to the resulting libraries with g77 or ifc.
Created attachment 18843 [details] lapack-3.0-r1.ebuild
Created attachment 18844 [details, diff] lapack-20020531-20021004.patch Minor patches from http://www.netlib.org/lapack/release_notes.html that haven't made it into the release tarball yet.
Created attachment 18845 [details, diff] lapack-gentoo.patch
Created attachment 18846 [details] f77-reference lapack-config profile (see bug 30460)
Hi Derek. Going through this. I actually did few more changes to lapack-atlas that will reflect this one too. I moved common files to mirrors, no need to keep dups in portage tree. Now all the epatches will take them from DISTDIR instead of FILESDIR. I have a question wrt g77. Do we always need it for the -reference one just as for the lapack-atlas or only if ifc is not available? George
George, The *-reference builds CAN use ifc exclusively, so that if ifc is USEd, then there is no need for g77.
Ok, lapack-reference in, please test. I had to add --tag in a few places, also libtool said: libtool: install: warning: remember to run `libtool --finish /usr/lib/lapack/reference' which I am not too sure where to put. Should it go right after the install line (in src_install), or should it be just ignored (as ebuild takes care of the rest anyway)? I'll add virtual upon successful testreport :). George
George, Forgive the delay. I've finally tested the lapack-reference in portage, and it works fine, both with g77 and with ifc. lapack --finish just runs ldconfig (at least on linux, not sure about other OSs), but portage nicely does this after pkg_install or whatever. I've never had problems linking with these shared libs, and I do use them regularly.
Hm can this one finally be closed ? Package is in the tree for months already...
I think this one is done as far as I can tell. Please reopen if I am mistaken.