diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-02-06 21:31:02 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-02-06 21:31:02 +0000 |
commit | e62724feb3f2ab1f8c117c6d72d71e913d62d5cb (patch) | |
tree | 290746e7477229503e6b0a381c363fb2febb1b98 /sci-libs | |
parent | Stable on amd64 wrt bug #162039. (diff) | |
download | gentoo-2-e62724feb3f2ab1f8c117c6d72d71e913d62d5cb.tar.gz gentoo-2-e62724feb3f2ab1f8c117c6d72d71e913d62d5cb.tar.bz2 gentoo-2-e62724feb3f2ab1f8c117c6d72d71e913d62d5cb.zip |
This new revision uses the new lapack-3.1.0 and also implements lapack's test functionality.
(Portage version: 2.1.2-r7)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/lapack-atlas/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r1 | 9 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/files/lapack-reference-3.1.0-autotool.patch | 415 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/lapack-atlas-3.7.24-r1.ebuild | 184 |
4 files changed, 617 insertions, 1 deletions
diff --git a/sci-libs/lapack-atlas/ChangeLog b/sci-libs/lapack-atlas/ChangeLog index 07afbd0e40eb..8c893acf132c 100644 --- a/sci-libs/lapack-atlas/ChangeLog +++ b/sci-libs/lapack-atlas/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-libs/lapack-atlas # Copyright 2004-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.37 2007/01/23 13:57:22 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.38 2007/02/06 21:31:02 markusle Exp $ + +*lapack-atlas-3.7.24-r1 (06 Feb 2007) + + 06 Feb 2007; Markus Dittrich <markusle@gentoo.org> + +files/lapack-reference-3.1.0-autotool.patch, + +lapack-atlas-3.7.24-r1.ebuild: + This new revision uses the new lapack-3.1.0 and also implements + lapack's test functionality. 23 Jan 2007; Markus Dittrich <markusle@gentoo.org> lapack-atlas-3.6.0.ebuild, lapack-atlas-3.6.0-r1.ebuild, diff --git a/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r1 b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r1 new file mode 100644 index 000000000000..b826d74182a6 --- /dev/null +++ b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r1 @@ -0,0 +1,9 @@ +MD5 4d28b9a878db79ba5567c76d225097a1 atlas-3.7.23-shared-libs.patch.bz2 6324 +RMD160 b3fd87430994d09860a6fd1d494934e90c0ecf41 atlas-3.7.23-shared-libs.patch.bz2 6324 +SHA256 895ed8243f23074ad0a343c3aded59468e2f3d6acfa886c840f7f81d32718241 atlas-3.7.23-shared-libs.patch.bz2 6324 +MD5 c9e54c65714afab0007102245860bbf5 atlas3.7.24.tar.bz2 1776317 +RMD160 c7bcfb157aa83a8087a3131342cbd1347f76ce64 atlas3.7.24.tar.bz2 1776317 +SHA256 10436b1aa642d0bd041170db683c119a9581ee5325fed2dc8113f34a2f11f8e4 atlas3.7.24.tar.bz2 1776317 +MD5 c58650715afc3cfa8aab6b79b0dee11d lapack-lite-3.1.0.tgz 5281148 +RMD160 d70d42b6335ec44af2dd75b132c9d516265b032b lapack-lite-3.1.0.tgz 5281148 +SHA256 229953cd91c4eb53a554f5bbc5e5d1a4c0687c10e3fe96e3c88828538a159f3b lapack-lite-3.1.0.tgz 5281148 diff --git a/sci-libs/lapack-atlas/files/lapack-reference-3.1.0-autotool.patch b/sci-libs/lapack-atlas/files/lapack-reference-3.1.0-autotool.patch new file mode 100644 index 000000000000..847ac838c343 --- /dev/null +++ b/sci-libs/lapack-atlas/files/lapack-reference-3.1.0-autotool.patch @@ -0,0 +1,415 @@ +diff -Nru lapack-3.1.0.orig/configure.ac lapack-3.1.0/configure.ac +--- lapack-3.1.0.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ lapack-3.1.0/configure.ac 2006-12-07 10:36:48.000000000 +0100 +@@ -0,0 +1,69 @@ ++# -*- Autoconf -*- ++# Process this file with autoconf to produce a configure script. ++ ++AC_PREREQ(2.59) ++AC_INIT(lapack, 3.0+, lapack@cs.utk.edu) ++AM_INIT_AUTOMAKE([foreign]) ++ ++# Checks for programs. ++AC_PROG_INSTALL ++AC_PROG_F77 ++AC_PROG_LIBTOOL ++ ++AC_ARG_ENABLE(single-real, AS_HELP_STRING([--disable-single-real], ++ [Enable single real precision (default: enabled)]), ++ [S=$enableval], [S=yes SINGLE=yes]) ++ ++AC_ARG_ENABLE(double-real, AS_HELP_STRING([--disable-double-real], ++ [Enable double real precision (default: enabled)]), ++ [D=$enableval], [D=yes DOUBLE=yes]) ++ ++AC_ARG_ENABLE(single-complex, AS_HELP_STRING([--disable-single-complex], ++ [Enable single complex precision (default: enabled)]), ++ [C=$enableval], [C=yes SINGLE=yes]) ++ ++AC_ARG_ENABLE(double-complex, AS_HELP_STRING([--disable-double-complex], ++ [Enable double complex precision (default: enabled)]), ++ [Z=$enableval], [Z=yes DOUBLE=yes]) ++ ++AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests], ++ [Build test programs (default: disabled)]), ++ [DO_TEST=$enableval], [DO_TEST=no]) ++ ++AC_ARG_VAR(NOOPT_FFLAGS, Fortran 77 compiler flags to use for unoptimized files) ++ ++if test "x$S" = "xno" \ ++ && test "x$D" = "xno" \ ++ && test "x$C" = "xno" \ ++ && test "x$Z" = "xno"; then ++ AC_MSG_ERROR([You must enable at least one precision!]) ++fi ++ ++if test "x$DO_TEST" = "xyes"; then ++ TESTING=testing ++fi ++ ++AM_CONDITIONAL([SINGLE], [test "x$SINGLE" = "xyes"]) ++AM_CONDITIONAL([DOUBLE], [test "x$DOUBLE" = "xyes"]) ++AM_CONDITIONAL([S], [test "x$S" = "xyes"]) ++AM_CONDITIONAL([D], [test "x$D" = "xyes"]) ++AM_CONDITIONAL([C], [test "x$C" = "xyes"]) ++AM_CONDITIONAL([Z], [test "x$Z" = "xyes"]) ++AM_CONDITIONAL([DO_TEST], [test "x$DO_TEST" = "xyes"]) ++AC_SUBST(TESTING) ++ ++AC_CONFIG_FILES([ ++ INSTALL/Makefile ++ Makefile ++ SRC/Makefile]) ++# BLAS/SRC/Makefile ++# TESTING/EIG/Makefile ++# TESTING/LIN/Makefile ++# TESTING/MATGEN/Makefile ++# TESTING/Makefile ++# TIMING/EIG/EIGSRC/Makefile ++# TIMING/EIG/Makefile ++# TIMING/LIN/LINSRC/Makefile ++# TIMING/LIN/Makefile ++# TIMING/Makefile]) ++AC_OUTPUT +diff -Nru lapack-3.1.0.orig/INSTALL/Makefile.am lapack-3.1.0/INSTALL/Makefile.am +--- lapack-3.1.0.orig/INSTALL/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ lapack-3.1.0/INSTALL/Makefile.am 2006-12-07 10:36:48.000000000 +0100 +@@ -0,0 +1,23 @@ ++if DO_TEST ++noinst_PROGRAMS = \ ++ testlsame \ ++ testslamch \ ++ testdlamch \ ++ testsecond \ ++ testdsecnd \ ++ testieee ++endif ++ ++testlsame_SOURCES = lsame.f lsametst.f ++testslamch_SOURCES = slamch.f lsame.f slamchtst.f ++testdlamch_SOURCES = dlamch.f lsame.f dlamchtst.f ++testsecond_SOURCES = second.f secondtst.f ++testdsecnd_SOURCES = dsecnd.f dsecndtst.f ++testieee_SOURCES = tstiee.f ++ ++EXTRA_DIST = \ ++ lawn81.pdf \ ++ lawn81.ps \ ++ lawn81.tex \ ++ org2.ps \ ++ psfig.tex +diff -Nru lapack-3.1.0.orig/Makefile.am lapack-3.1.0/Makefile.am +--- lapack-3.1.0.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ lapack-3.1.0/Makefile.am 2006-12-07 10:36:48.000000000 +0100 +@@ -0,0 +1,3 @@ ++SUBDIRS = INSTALL SRC ++ ++EXTRA_DIST = README +diff -Nru lapack-3.1.0.orig/SRC/Makefile.am lapack-3.1.0/SRC/Makefile.am +--- lapack-3.1.0.orig/SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ lapack-3.1.0/SRC/Makefile.am 2006-12-07 10:42:57.000000000 +0100 +@@ -0,0 +1,304 @@ ++lib_LTLIBRARIES = \ ++ liblapack.la ++ ++noinst_LTLIBRARIES = \ ++ liblapack-noopt.la ++ ++ALLAUX_SOURCES = ilaenv.f ieeeck.f lsamen.f xerbla.f iparmq.f \ ++ ../INSTALL/ilaver.f ../INSTALL/lsame.f ++ ++if SINGLE ++SINGLE_NOOPT_SOURCES = \ ++ slaruv.f ../INSTALL/slamch.f ++ ++SINGLE_SOURCES = \ ++ sbdsdc.f \ ++ sbdsqr.f sdisna.f slabad.f slacpy.f sladiv.f slae2.f slaebz.f \ ++ slaed0.f slaed1.f slaed2.f slaed3.f slaed4.f slaed5.f slaed6.f \ ++ slaed7.f slaed8.f slaed9.f slaeda.f slaev2.f slagtf.f \ ++ slagts.f slamrg.f slanst.f \ ++ slapy2.f slapy3.f slarnv.f \ ++ slarra.f slarrb.f slarrc.f slarrd.f slarre.f slarrf.f slarrj.f \ ++ slarrk.f slarrr.f slaneg.f \ ++ slartg.f slas2.f slascl.f \ ++ slasd0.f slasd1.f slasd2.f slasd3.f slasd4.f slasd5.f slasd6.f \ ++ slasd7.f slasd8.f slasda.f slasdq.f slasdt.f \ ++ slaset.f slasq1.f slasq2.f slasq3.f slazq3.f slasq4.f slazq4.f slasq5.f slasq6.f \ ++ slasr.f slasrt.f slassq.f slasv2.f spttrf.f sstebz.f sstedc.f \ ++ ssteqr.f ssterf.f slaisnan.f sisnan.f \ ++ ../INSTALL/second.f ++endif ++ ++if DOUBLE ++DOUBLE_NOOPT_SOURCES = \ ++ dlaruv.f ../INSTALL/dlamch.f ++ ++DOUBLE_SOURCES = \ ++ dbdsdc.f \ ++ dbdsqr.f ddisna.f dlabad.f dlacpy.f dladiv.f dlae2.f dlaebz.f \ ++ dlaed0.f dlaed1.f dlaed2.f dlaed3.f dlaed4.f dlaed5.f dlaed6.f \ ++ dlaed7.f dlaed8.f dlaed9.f dlaeda.f dlaev2.f dlagtf.f \ ++ dlagts.f dlamrg.f dlanst.f \ ++ dlapy2.f dlapy3.f dlarnv.f \ ++ dlarra.f dlarrb.f dlarrc.f dlarrd.f dlarre.f dlarrf.f dlarrj.f \ ++ dlarrk.f dlarrr.f dlaneg.f \ ++ dlartg.f dlas2.f dlascl.f \ ++ dlasd0.f dlasd1.f dlasd2.f dlasd3.f dlasd4.f dlasd5.f dlasd6.f \ ++ dlasd7.f dlasd8.f dlasda.f dlasdq.f dlasdt.f \ ++ dlaset.f dlasq1.f dlasq2.f dlasq3.f dlazq3.f dlasq4.f dlazq4.f dlasq5.f dlasq6.f \ ++ dlasr.f dlasrt.f dlassq.f dlasv2.f dpttrf.f dstebz.f dstedc.f \ ++ dsteqr.f dsterf.f dlaisnan.f disnan.f \ ++ ../INSTALL/dsecnd.f ++endif ++ ++if S ++S_SOURCES = \ ++ sgbbrd.f sgbcon.f sgbequ.f sgbrfs.f sgbsv.f \ ++ sgbsvx.f sgbtf2.f sgbtrf.f sgbtrs.f sgebak.f sgebal.f sgebd2.f \ ++ sgebrd.f sgecon.f sgeequ.f sgees.f sgeesx.f sgeev.f sgeevx.f \ ++ sgegs.f sgegv.f sgehd2.f sgehrd.f sgelq2.f sgelqf.f \ ++ sgels.f sgelsd.f sgelss.f sgelsx.f sgelsy.f sgeql2.f sgeqlf.f \ ++ sgeqp3.f sgeqpf.f sgeqr2.f sgeqrf.f sgerfs.f sgerq2.f sgerqf.f \ ++ sgesc2.f sgesdd.f sgesv.f sgesvd.f sgesvx.f sgetc2.f sgetf2.f \ ++ sgetrf.f sgetri.f \ ++ sgetrs.f sggbak.f sggbal.f sgges.f sggesx.f sggev.f sggevx.f \ ++ sggglm.f sgghrd.f sgglse.f sggqrf.f \ ++ sggrqf.f sggsvd.f sggsvp.f sgtcon.f sgtrfs.f sgtsv.f \ ++ sgtsvx.f sgttrf.f sgttrs.f sgtts2.f shgeqz.f \ ++ shsein.f shseqr.f slabrd.f slacon.f slacn2.f \ ++ slaein.f slaexc.f slag2.f slags2.f slagtm.f slagv2.f slahqr.f \ ++ slahrd.f slahr2.f slaic1.f slaln2.f slals0.f slalsa.f slalsd.f \ ++ slangb.f slange.f slangt.f slanhs.f slansb.f slansp.f \ ++ slansy.f slantb.f slantp.f slantr.f slanv2.f \ ++ slapll.f slapmt.f \ ++ slaqgb.f slaqge.f slaqp2.f slaqps.f slaqsb.f slaqsp.f slaqsy.f \ ++ slaqr0.f slaqr1.f slaqr2.f slaqr3.f slaqr4.f slaqr5.f \ ++ slaqtr.f slar1v.f slar2v.f \ ++ slarf.f slarfb.f slarfg.f slarft.f slarfx.f slargv.f \ ++ slarrv.f slartv.f \ ++ slarz.f slarzb.f slarzt.f slaswp.f slasy2.f slasyf.f \ ++ slatbs.f slatdf.f slatps.f slatrd.f slatrs.f slatrz.f slatzm.f \ ++ slauu2.f slauum.f sopgtr.f sopmtr.f sorg2l.f sorg2r.f \ ++ sorgbr.f sorghr.f sorgl2.f sorglq.f sorgql.f sorgqr.f sorgr2.f \ ++ sorgrq.f sorgtr.f sorm2l.f sorm2r.f \ ++ sormbr.f sormhr.f sorml2.f sormlq.f sormql.f sormqr.f sormr2.f \ ++ sormr3.f sormrq.f sormrz.f sormtr.f spbcon.f spbequ.f spbrfs.f \ ++ spbstf.f spbsv.f spbsvx.f \ ++ spbtf2.f spbtrf.f spbtrs.f spocon.f spoequ.f sporfs.f sposv.f \ ++ sposvx.f spotf2.f spotrf.f spotri.f spotrs.f sppcon.f sppequ.f \ ++ spprfs.f sppsv.f sppsvx.f spptrf.f spptri.f spptrs.f sptcon.f \ ++ spteqr.f sptrfs.f sptsv.f sptsvx.f spttrs.f sptts2.f srscl.f \ ++ ssbev.f ssbevd.f ssbevx.f ssbgst.f ssbgv.f ssbgvd.f ssbgvx.f \ ++ ssbtrd.f sspcon.f sspev.f sspevd.f sspevx.f sspgst.f \ ++ sspgv.f sspgvd.f sspgvx.f ssprfs.f sspsv.f sspsvx.f ssptrd.f \ ++ ssptrf.f ssptri.f ssptrs.f sstegr.f sstein.f sstev.f sstevd.f sstevr.f \ ++ sstevx.f ssycon.f ssyev.f ssyevd.f ssyevr.f ssyevx.f ssygs2.f \ ++ ssygst.f ssygv.f ssygvd.f ssygvx.f ssyrfs.f ssysv.f ssysvx.f \ ++ ssytd2.f ssytf2.f ssytrd.f ssytrf.f ssytri.f ssytrs.f stbcon.f \ ++ stbrfs.f stbtrs.f stgevc.f stgex2.f stgexc.f stgsen.f \ ++ stgsja.f stgsna.f stgsy2.f stgsyl.f stpcon.f stprfs.f stptri.f \ ++ stptrs.f \ ++ strcon.f strevc.f strexc.f strrfs.f strsen.f strsna.f strsyl.f \ ++ strti2.f strtri.f strtrs.f stzrqf.f stzrzf.f sstemr.f ++endif ++ ++if C ++C_SOURCES = \ ++ cbdsqr.f cgbbrd.f cgbcon.f cgbequ.f cgbrfs.f cgbsv.f cgbsvx.f \ ++ cgbtf2.f cgbtrf.f cgbtrs.f cgebak.f cgebal.f cgebd2.f cgebrd.f \ ++ cgecon.f cgeequ.f cgees.f cgeesx.f cgeev.f cgeevx.f \ ++ cgegs.f cgegv.f cgehd2.f cgehrd.f cgelq2.f cgelqf.f \ ++ cgels.f cgelsd.f cgelss.f cgelsx.f cgelsy.f cgeql2.f cgeqlf.f cgeqp3.f \ ++ cgeqpf.f cgeqr2.f cgeqrf.f cgerfs.f cgerq2.f cgerqf.f \ ++ cgesc2.f cgesdd.f cgesv.f cgesvd.f cgesvx.f cgetc2.f cgetf2.f cgetrf.f \ ++ cgetri.f cgetrs.f \ ++ cggbak.f cggbal.f cgges.f cggesx.f cggev.f cggevx.f cggglm.f \ ++ cgghrd.f cgglse.f cggqrf.f cggrqf.f \ ++ cggsvd.f cggsvp.f \ ++ cgtcon.f cgtrfs.f cgtsv.f cgtsvx.f cgttrf.f cgttrs.f cgtts2.f chbev.f \ ++ chbevd.f chbevx.f chbgst.f chbgv.f chbgvd.f chbgvx.f chbtrd.f \ ++ checon.f cheev.f cheevd.f cheevr.f cheevx.f chegs2.f chegst.f \ ++ chegv.f chegvd.f chegvx.f cherfs.f chesv.f chesvx.f chetd2.f \ ++ chetf2.f chetrd.f \ ++ chetrf.f chetri.f chetrs.f chgeqz.f chpcon.f chpev.f chpevd.f \ ++ chpevx.f chpgst.f chpgv.f chpgvd.f chpgvx.f chprfs.f chpsv.f \ ++ chpsvx.f \ ++ chptrd.f chptrf.f chptri.f chptrs.f chsein.f chseqr.f clabrd.f \ ++ clacgv.f clacon.f clacn2.f clacp2.f clacpy.f clacrm.f clacrt.f cladiv.f \ ++ claed0.f claed7.f claed8.f \ ++ claein.f claesy.f claev2.f clags2.f clagtm.f \ ++ clahef.f clahqr.f \ ++ clahrd.f clahr2.f claic1.f clals0.f clalsa.f clalsd.f clangb.f clange.f clangt.f \ ++ clanhb.f clanhe.f \ ++ clanhp.f clanhs.f clanht.f clansb.f clansp.f clansy.f clantb.f \ ++ clantp.f clantr.f clapll.f clapmt.f clarcm.f claqgb.f claqge.f \ ++ claqhb.f claqhe.f claqhp.f claqp2.f claqps.f claqsb.f \ ++ claqr0.f claqr1.f claqr2.f claqr3.f claqr4.f claqr5.f \ ++ claqsp.f claqsy.f clar1v.f clar2v.f clarf.f clarfb.f clarfg.f clarft.f \ ++ clarfx.f clargv.f clarnv.f clarrv.f clartg.f clartv.f \ ++ clarz.f clarzb.f clarzt.f clascl.f claset.f clasr.f classq.f \ ++ claswp.f clasyf.f clatbs.f clatdf.f clatps.f clatrd.f clatrs.f clatrz.f \ ++ clatzm.f clauu2.f clauum.f cpbcon.f cpbequ.f cpbrfs.f cpbstf.f cpbsv.f \ ++ cpbsvx.f cpbtf2.f cpbtrf.f cpbtrs.f cpocon.f cpoequ.f cporfs.f \ ++ cposv.f cposvx.f cpotf2.f cpotrf.f cpotri.f cpotrs.f cppcon.f \ ++ cppequ.f cpprfs.f cppsv.f cppsvx.f cpptrf.f cpptri.f cpptrs.f \ ++ cptcon.f cpteqr.f cptrfs.f cptsv.f cptsvx.f cpttrf.f cpttrs.f cptts2.f \ ++ crot.f cspcon.f cspmv.f cspr.f csprfs.f cspsv.f \ ++ cspsvx.f csptrf.f csptri.f csptrs.f csrot.f csrscl.f cstedc.f \ ++ cstegr.f cstein.f csteqr.f csycon.f csymv.f \ ++ csyr.f csyrfs.f csysv.f csysvx.f csytf2.f csytrf.f csytri.f \ ++ csytrs.f ctbcon.f ctbrfs.f ctbtrs.f ctgevc.f ctgex2.f \ ++ ctgexc.f ctgsen.f ctgsja.f ctgsna.f ctgsy2.f ctgsyl.f ctpcon.f \ ++ ctprfs.f ctptri.f \ ++ ctptrs.f ctrcon.f ctrevc.f ctrexc.f ctrrfs.f ctrsen.f ctrsna.f \ ++ ctrsyl.f ctrti2.f ctrtri.f ctrtrs.f ctzrqf.f ctzrzf.f cung2l.f cung2r.f \ ++ cungbr.f cunghr.f cungl2.f cunglq.f cungql.f cungqr.f cungr2.f \ ++ cungrq.f cungtr.f cunm2l.f cunm2r.f cunmbr.f cunmhr.f cunml2.f \ ++ cunmlq.f cunmql.f cunmqr.f cunmr2.f cunmr3.f cunmrq.f cunmrz.f \ ++ cunmtr.f cupgtr.f cupmtr.f icmax1.f scsum1.f cstemr.f ++endif ++ ++if D ++D_SOURCES = \ ++ dgbbrd.f dgbcon.f dgbequ.f dgbrfs.f dgbsv.f \ ++ dgbsvx.f dgbtf2.f dgbtrf.f dgbtrs.f dgebak.f dgebal.f dgebd2.f \ ++ dgebrd.f dgecon.f dgeequ.f dgees.f dgeesx.f dgeev.f dgeevx.f \ ++ dgegs.f dgegv.f dgehd2.f dgehrd.f dgelq2.f dgelqf.f \ ++ dgels.f dgelsd.f dgelss.f dgelsx.f dgelsy.f dgeql2.f dgeqlf.f \ ++ dgeqp3.f dgeqpf.f dgeqr2.f dgeqrf.f dgerfs.f dgerq2.f dgerqf.f \ ++ dgesc2.f dgesdd.f dgesv.f dgesvd.f dgesvx.f dgetc2.f dgetf2.f \ ++ dgetrf.f dgetri.f \ ++ dgetrs.f dggbak.f dggbal.f dgges.f dggesx.f dggev.f dggevx.f \ ++ dggglm.f dgghrd.f dgglse.f dggqrf.f \ ++ dggrqf.f dggsvd.f dggsvp.f dgtcon.f dgtrfs.f dgtsv.f \ ++ dgtsvx.f dgttrf.f dgttrs.f dgtts2.f dhgeqz.f \ ++ dhsein.f dhseqr.f dlabrd.f dlacon.f dlacn2.f \ ++ dlaein.f dlaexc.f dlag2.f dlags2.f dlagtm.f dlagv2.f dlahqr.f \ ++ dlahrd.f dlahr2.f dlaic1.f dlaln2.f dlals0.f dlalsa.f dlalsd.f \ ++ dlangb.f dlange.f dlangt.f dlanhs.f dlansb.f dlansp.f \ ++ dlansy.f dlantb.f dlantp.f dlantr.f dlanv2.f \ ++ dlapll.f dlapmt.f \ ++ dlaqgb.f dlaqge.f dlaqp2.f dlaqps.f dlaqsb.f dlaqsp.f dlaqsy.f \ ++ dlaqr0.f dlaqr1.f dlaqr2.f dlaqr3.f dlaqr4.f dlaqr5.f \ ++ dlaqtr.f dlar1v.f dlar2v.f \ ++ dlarf.f dlarfb.f dlarfg.f dlarft.f dlarfx.f dlargv.f \ ++ dlarrv.f dlartv.f \ ++ dlarz.f dlarzb.f dlarzt.f dlaswp.f dlasy2.f dlasyf.f \ ++ dlatbs.f dlatdf.f dlatps.f dlatrd.f dlatrs.f dlatrz.f dlatzm.f dlauu2.f \ ++ dlauum.f dopgtr.f dopmtr.f dorg2l.f dorg2r.f \ ++ dorgbr.f dorghr.f dorgl2.f dorglq.f dorgql.f dorgqr.f dorgr2.f \ ++ dorgrq.f dorgtr.f dorm2l.f dorm2r.f \ ++ dormbr.f dormhr.f dorml2.f dormlq.f dormql.f dormqr.f dormr2.f \ ++ dormr3.f dormrq.f dormrz.f dormtr.f dpbcon.f dpbequ.f dpbrfs.f \ ++ dpbstf.f dpbsv.f dpbsvx.f \ ++ dpbtf2.f dpbtrf.f dpbtrs.f dpocon.f dpoequ.f dporfs.f dposv.f \ ++ dposvx.f dpotf2.f dpotrf.f dpotri.f dpotrs.f dppcon.f dppequ.f \ ++ dpprfs.f dppsv.f dppsvx.f dpptrf.f dpptri.f dpptrs.f dptcon.f \ ++ dpteqr.f dptrfs.f dptsv.f dptsvx.f dpttrs.f dptts2.f drscl.f \ ++ dsbev.f dsbevd.f dsbevx.f dsbgst.f dsbgv.f dsbgvd.f dsbgvx.f \ ++ dsbtrd.f dspcon.f dspev.f dspevd.f dspevx.f dspgst.f \ ++ dspgv.f dspgvd.f dspgvx.f dsprfs.f dspsv.f dspsvx.f dsptrd.f \ ++ dsptrf.f dsptri.f dsptrs.f dstegr.f dstein.f dstev.f dstevd.f dstevr.f \ ++ dstevx.f dsycon.f dsyev.f dsyevd.f dsyevr.f \ ++ dsyevx.f dsygs2.f dsygst.f dsygv.f dsygvd.f dsygvx.f dsyrfs.f \ ++ dsysv.f dsysvx.f \ ++ dsytd2.f dsytf2.f dsytrd.f dsytrf.f dsytri.f dsytrs.f dtbcon.f \ ++ dtbrfs.f dtbtrs.f dtgevc.f dtgex2.f dtgexc.f dtgsen.f \ ++ dtgsja.f dtgsna.f dtgsy2.f dtgsyl.f dtpcon.f dtprfs.f dtptri.f \ ++ dtptrs.f \ ++ dtrcon.f dtrevc.f dtrexc.f dtrrfs.f dtrsen.f dtrsna.f dtrsyl.f \ ++ dtrti2.f dtrtri.f dtrtrs.f dtzrqf.f dtzrzf.f dstemr.f \ ++ dsgesv.f dlag2s.f slag2d.f ++endif ++ ++if Z ++Z_SOURCES = \ ++ zbdsqr.f zgbbrd.f zgbcon.f zgbequ.f zgbrfs.f zgbsv.f zgbsvx.f \ ++ zgbtf2.f zgbtrf.f zgbtrs.f zgebak.f zgebal.f zgebd2.f zgebrd.f \ ++ zgecon.f zgeequ.f zgees.f zgeesx.f zgeev.f zgeevx.f \ ++ zgegs.f zgegv.f zgehd2.f zgehrd.f zgelq2.f zgelqf.f \ ++ zgels.f zgelsd.f zgelss.f zgelsx.f zgelsy.f zgeql2.f zgeqlf.f zgeqp3.f \ ++ zgeqpf.f zgeqr2.f zgeqrf.f zgerfs.f zgerq2.f zgerqf.f \ ++ zgesc2.f zgesdd.f zgesv.f zgesvd.f zgesvx.f zgetc2.f zgetf2.f zgetrf.f \ ++ zgetri.f zgetrs.f \ ++ zggbak.f zggbal.f zgges.f zggesx.f zggev.f zggevx.f zggglm.f \ ++ zgghrd.f zgglse.f zggqrf.f zggrqf.f \ ++ zggsvd.f zggsvp.f \ ++ zgtcon.f zgtrfs.f zgtsv.f zgtsvx.f zgttrf.f zgttrs.f zgtts2.f zhbev.f \ ++ zhbevd.f zhbevx.f zhbgst.f zhbgv.f zhbgvd.f zhbgvx.f zhbtrd.f \ ++ zhecon.f zheev.f zheevd.f zheevr.f zheevx.f zhegs2.f zhegst.f \ ++ zhegv.f zhegvd.f zhegvx.f zherfs.f zhesv.f zhesvx.f zhetd2.f \ ++ zhetf2.f zhetrd.f \ ++ zhetrf.f zhetri.f zhetrs.f zhgeqz.f zhpcon.f zhpev.f zhpevd.f \ ++ zhpevx.f zhpgst.f zhpgv.f zhpgvd.f zhpgvx.f zhprfs.f zhpsv.f \ ++ zhpsvx.f \ ++ zhptrd.f zhptrf.f zhptri.f zhptrs.f zhsein.f zhseqr.f zlabrd.f \ ++ zlacgv.f zlacon.f zlacn2.f zlacp2.f zlacpy.f zlacrm.f zlacrt.f zladiv.f \ ++ zlaed0.f zlaed7.f zlaed8.f \ ++ zlaein.f zlaesy.f zlaev2.f zlags2.f zlagtm.f \ ++ zlahef.f zlahqr.f \ ++ zlahrd.f zlahr2.f zlaic1.f zlals0.f zlalsa.f zlalsd.f zlangb.f zlange.f \ ++ zlangt.f zlanhb.f \ ++ zlanhe.f \ ++ zlanhp.f zlanhs.f zlanht.f zlansb.f zlansp.f zlansy.f zlantb.f \ ++ zlantp.f zlantr.f zlapll.f zlapmt.f zlaqgb.f zlaqge.f \ ++ zlaqhb.f zlaqhe.f zlaqhp.f zlaqp2.f zlaqps.f zlaqsb.f \ ++ zlaqr0.f zlaqr1.f zlaqr2.f zlaqr3.f zlaqr4.f zlaqr5.f \ ++ zlaqsp.f zlaqsy.f zlar1v.f zlar2v.f zlarcm.f zlarf.f zlarfb.f \ ++ zlarfg.f zlarft.f \ ++ zlarfx.f zlargv.f zlarnv.f zlarrv.f zlartg.f zlartv.f \ ++ zlarz.f zlarzb.f zlarzt.f zlascl.f zlaset.f zlasr.f \ ++ zlassq.f zlaswp.f zlasyf.f \ ++ zlatbs.f zlatdf.f zlatps.f zlatrd.f zlatrs.f zlatrz.f zlatzm.f zlauu2.f \ ++ zlauum.f zpbcon.f zpbequ.f zpbrfs.f zpbstf.f zpbsv.f \ ++ zpbsvx.f zpbtf2.f zpbtrf.f zpbtrs.f zpocon.f zpoequ.f zporfs.f \ ++ zposv.f zposvx.f zpotf2.f zpotrf.f zpotri.f zpotrs.f zppcon.f \ ++ zppequ.f zpprfs.f zppsv.f zppsvx.f zpptrf.f zpptri.f zpptrs.f \ ++ zptcon.f zpteqr.f zptrfs.f zptsv.f zptsvx.f zpttrf.f zpttrs.f zptts2.f \ ++ zrot.f zspcon.f zspmv.f zspr.f zsprfs.f zspsv.f \ ++ zspsvx.f zsptrf.f zsptri.f zsptrs.f zdrot.f zdrscl.f zstedc.f \ ++ zstegr.f zstein.f zsteqr.f zsycon.f zsymv.f \ ++ zsyr.f zsyrfs.f zsysv.f zsysvx.f zsytf2.f zsytrf.f zsytri.f \ ++ zsytrs.f ztbcon.f ztbrfs.f ztbtrs.f ztgevc.f ztgex2.f \ ++ ztgexc.f ztgsen.f ztgsja.f ztgsna.f ztgsy2.f ztgsyl.f ztpcon.f \ ++ ztprfs.f ztptri.f \ ++ ztptrs.f ztrcon.f ztrevc.f ztrexc.f ztrrfs.f ztrsen.f ztrsna.f \ ++ ztrsyl.f ztrti2.f ztrtri.f ztrtrs.f ztzrqf.f ztzrzf.f zung2l.f \ ++ zung2r.f zungbr.f zunghr.f zungl2.f zunglq.f zungql.f zungqr.f zungr2.f \ ++ zungrq.f zungtr.f zunm2l.f zunm2r.f zunmbr.f zunmhr.f zunml2.f \ ++ zunmlq.f zunmql.f zunmqr.f zunmr2.f zunmr3.f zunmrq.f zunmrz.f \ ++ zunmtr.f zupgtr.f \ ++ zupmtr.f izmax1.f dzsum1.f zstemr.f \ ++ zcgesv.f zlag2c.f clag2z.f ++endif ++ ++liblapack_noopt_la_FFLAGS = \ ++ $(NOOPT_FFLAGS) ++ ++liblapack_noopt_la_SOURCES = \ ++ $(SINGLE_NOOPT_SOURCES) \ ++ $(DOUBLE_NOOPT_SOURCES) ++ ++liblapack_la_LIBADD = liblapack-noopt.la ++ ++liblapack_la_SOURCES = \ ++ $(ALLAUX_SOURCES) \ ++ $(SINGLE_SOURCES) \ ++ $(DOUBLE_SOURCES) \ ++ $(S_SOURCES) \ ++ $(C_SOURCES) \ ++ $(D_SOURCES) \ ++ $(Z_SOURCES) ++ ++# Automake doesn't have a way to build with no optimization ++# See http://sources.redhat.com/ml/automake/2002-08/msg00082.html ++# This is the automake-produced rule with $(FFLAGS) removed ++liblapack_noopt_la-slaruv.lo: slaruv.f ++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-slaruv.lo `test -f 'slaruv.f' || echo '$(srcdir)/'`slaruv.f ++liblapack_noopt_la-dlaruv.lo: dlaruv.f ++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-dlaruv.lo `test -f 'dlaruv.f' || echo '$(srcdir)/'`dlaruv.f ++ ++liblapack_noopt_la-slamch.lo: ../INSTALL/slamch.f ++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-slamch.lo `test -f '../INSTALL/slamch.f' || echo '$(srcdir)/'`../INSTALL/slamch.f ++liblapack_noopt_la-dlamch.lo: ../INSTALL/dlamch.f ++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-dlamch.lo `test -f '../INSTALL/dlamch.f' || echo '$(srcdir)/'`../INSTALL/dlamch.f diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r1.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r1.ebuild new file mode 100644 index 000000000000..18648804d7e5 --- /dev/null +++ b/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r1.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r1.ebuild,v 1.1 2007/02/06 21:31:02 markusle Exp $ + +inherit eutils flag-o-matic toolchain-funcs fortran + +MY_PN="${PN/lapack-/}" +L_PN="lapack" +L_PV="3.1.0" + +DESCRIPTION="Full LAPACK implementation using available ATLAS routines" +LICENSE="BSD" +HOMEPAGE="http://math-atlas.sourceforge.net/" +SRC_URI1="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2" +SRC_URI2="http://www.netlib.org/${L_PN}/${L_PN}-lite-${L_PV}.tgz" +SRC_URI="${SRC_URI1} ${SRC_URI2} + mirror://gentoo/${MY_PN}-3.7.23-shared-libs.patch.bz2" + +SLOT="0" +IUSE="doc" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="virtual/blas + app-admin/eselect-lapack" + +DEPEND="${RDEPEND} + >=sys-devel/libtool-1.5 + ~sci-libs/blas-atlas-3.7.24" + +PROVIDE="virtual/lapack" + +FORTRAN="g77 gfortran" + +S="${WORKDIR}/ATLAS" +S_LAPACK="${WORKDIR}/${L_PN}-${L_PV}" +BLD_DIR="${S}/gentoo-build" +RPATH="${DESTTREE}/$(get_libdir)/${L_PN}/${MY_PN}" + +pkg_setup() { + fortran_pkg_setup + echo + ewarn "Please make sure to disable CPU throttling completely" + ewarn "during the compile of lapack-atlas. Otherwise, all atlas" + ewarn "generated timings will be completely random and the" + ewarn "performance of the resulting libraries will be degraded" + ewarn "considerably." + echo + epause 8 +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + + epatch "${DISTDIR}"/${MY_PN}-3.7.23-shared-libs.patch.bz2 + epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch + epatch "${FILESDIR}"/${L_PN}-reference-${L_PV}-autotool.patch + + cd "${S}" + mkdir ${BLD_DIR} || die "failed to generate build directory" + cp "${FILESDIR}"/war "${BLD_DIR}" && chmod a+x "${BLD_DIR}"/war \ + || die "failed to install war" + + # make sure the compile picks up the proper includes + sed -e 's|INCLUDES =|INCLUDES = -I/usr/include/atlas/|' \ + -i CONFIG/src/SpewMakeInc.c || \ + die "failed to append proper includes" + + # force proper 32/64bit libs + local archselect + if [[ "${ARCH}" == "amd64" || "${ARCH}" == "ppc64" ]]; then + archselect="-b 64" + elif [ "${ARCH}" == "alpha" ]; then + archselect="" + else + archselect="-b 32" + fi + + # set up compiler/flags using atlas' native configure + local compdefs + compdefs="${compdefs} -C xc '$(tc-getCC)' -F xc '${CFLAGS}'" + compdefs="${compdefs} -C ic '$(tc-getCC)' -F ic '${CFLAGS}'" + compdefs="${compdefs} -C sk '$(tc-getCC)' -F sk '${CFLAGS}'" + compdefs="${compdefs} -C dk '$(tc-getCC)' -F dk '${CFLAGS}'" + compdefs="${compdefs} -C sm '$(tc-getCC)' -F sm '${CFLAGS}'" + compdefs="${compdefs} -C dm '$(tc-getCC)' -F dm '${CFLAGS}'" + compdefs="${compdefs} -C if '${FORTRANC}' -F if '${FFLAGS}'" + compdefs="${compdefs} -Si cputhrchk 0 ${archselect}" + + + cd ${BLD_DIR} && ../configure ${compdefs} \ + || die "configure failed" + + cd "${S_LAPACK}" + eautoreconf + + # set up the testing routines + cp make.inc.example make.inc || die "Failed to copy make.inc" + sed -e "s:g77:${FORTRANC}:" \ + -e "s:-funroll-all-loops -O3:${FFLAGS}:" \ + -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS}:" \ + -e "s:../../blas\$(PLAT).a:-lblas -lcblas:" \ + -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \ + -i make.inc || die "Failed to set up make.inc" +} + +src_compile() { + # build atlas' part of lapack + cd "${BLD_DIR}"/src/lapack + make lib || die "Failed to make lib in ${BLD_DIR}/src/lapack" + + cd "${BLD_DIR}"/interfaces/lapack/C/src + make lib || die "Failed to make lib in ${BLD_DIR}/interfaces/lapack/C/src" + + cd "${BLD_DIR}"/interfaces/lapack/F77/src + make lib || die "Failed to make lib in ${BLD_DIR}/interfaces/lapack/F77/src" + + # build rest of lapack + cd "${S_LAPACK}" + econf || die "Failed to configure reference lapack lib" + emake || die "Failed to make reference lapack lib" + + cd "${S_LAPACK}"/SRC + einfo "Copying liblapack.a/*.o to ${S_LAPACK}/SRC" + cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.o . + einfo "Copying liblapack.a/*.lo to ${S_LAPACK}/SRC" + cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.lo . + einfo "Copying liblapack.a/.libs/*.o to ${S_LAPACK}/SRC" + cp -sf "${BLD_DIR}"/gentoo/liblapack.a/.libs/*.o .libs/ + + # make sure shared libs link against proper libraries + if [[ ${FORTRANC} == "gfortran" ]]; then + libs="${LDFLAGS} -lpthread -lgfortran" + else + libs="${LDFLAGS} -lpthread -lg2c" + fi + + ../libtool --mode=link --tag=F77 ${FORTRANC} -lblas -lcblas \ + -latlas ${libs} -o liblapack.la *.lo -rpath "${RPATH}" \ + || die "Failed to create liblapack.la" +} + +src_install () { + dodir "${RPATH}" + + cd "${S_LAPACK}"/SRC + ../libtool --mode=install install -s liblapack.la \ + "${D}/${RPATH}" \ + || die "Failed to install lapack-atlas library" + + eselect lapack add $(get_libdir) ${FILESDIR}/eselect.lapack atlas + + insinto /usr/include/atlas + cd "${S}"/include + doins clapack.h || die "Failed to install clapack.h" + + cd "${S}" + dodoc README doc/AtlasCredits.txt doc/ChangeLog || \ + die "Failed to install docs" + if use doc; then + dodoc doc/lapackqref.ps || die "Failed to install docs" + fi +} + +src_test() { + cd "${S_LAPACK}"/TESTING/MATGEN && emake || \ + die "Failed to create tmglib.a" + cd ../ && emake || die "lapack-reference tests failed." +} + +pkg_postinst() { + if [[ -z "$(eselect lapack show)" ]]; then + eselect lapack set atlas + fi + + elog + elog "To link with ATLAS LAPACK from C or Fortran, simply use:" + elog + elog "-llapack" + elog + elog "C users: your header is /usr/include/atlas/clapack.h" + elog + elog "Configuration now uses eselect rather than lapack-config." +} |