LAPACK is used by some engineers, mathematicians, and scientists for reliable, well-documented linear algebra routines. The three ebuilds here are my attempt at installing lapack on a Gentoo system. They are based heavily on a study of how Red Hat's lapack.spec file handles the build and install. The Makefiles that comes with the LAPACK system are not very useful; Red Hat has two that they include with their SRPM that are more functional for this purpose. I've included it in the directory above. They had no identification (copyright, etc.) so I've not modified them, since they can be used as-is. This is my first ebuild experiment. Please test them for sanity.
I tried to attach the ebuilds to this bug, but no go. Sorry. :^| See the URL listed in this bug for ebuilds and/or tar containing them (and digests, etc.)
Very cool Matt! We need to work out a system for this, so we can use alternate blas implementations. We will probably need to create a virtual/blas, and then make the lapack ebuild work with it. For example, to utilize atlas ( need to enhance with shared libs ) or the intel fastmath libs (future). Matt, if you're interested, look at dev-libs/atlas. I would appreciate any thoughts you might have of getting the shared libs implemented. Atlas has a goofy build also. (Why does netlibs have to be different :) You can contact me at tod@gentoo.org. Daniel, could you asign this one to me?
There are a few problems with the ebuild that will need to be addressed: 1) both the atlas package and the lapack package list "/usr/lib/liblapack.a". Is the last one emerged writing over the other one? 2) the ebuild has the lines: cp -f /usr/portage/dev-libs/lapack/files/Makefile.blas ./BLAS/SRC/Makefile cp -f /usr/portage/dev-libs/lapack/files/Makefile.lapack ./SRC/Makefile Won't this fail if you have the ebuild in some portage.local directory? Also, maybe the ebuild should simply be called "lapack", not "lapack-libs". I'll tarball the ebuild directory and attach it.
Created attachment 4822 [details] Tarball of the lapack ebuild directory
i will take this bug, i rewrote the ebuilds, please take a look at http://gentoo.org/~hannes/app-sci/blas/ and http://gentoo.org/~hannes/app-sci/lapack the only reason i haven't currently commited them is i can't find any license at blas and lapack home page, but i mailed the author of blas/lapack to send me their license.
commited, thanks for the ebuild.