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 | 7315c2f94f958f293c9c326b03d9a311a40ebbc8 (patch) | |
tree | 37f93adc65fb01f12989473933888291285418c3 | |
parent | Stable on amd64 wrt bug #162039. (diff) | |
download | historical-7315c2f94f958f293c9c326b03d9a311a40ebbc8.tar.gz historical-7315c2f94f958f293c9c326b03d9a311a40ebbc8.tar.bz2 historical-7315c2f94f958f293c9c326b03d9a311a40ebbc8.zip |
This new revision uses the new lapack-3.1.0 and also implements lapack's test functionality.
Package-Manager: portage-2.1.2-r7
-rw-r--r-- | sci-libs/lapack-atlas/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/Manifest | 20 | ||||
-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 | ||||
-rw-r--r-- | sci-libs/lapack-reference/Manifest | 8 |
6 files changed, 637 insertions, 9 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/Manifest b/sci-libs/lapack-atlas/Manifest index 744ebdbfa8a3..62cdc35b85fd 100644 --- a/sci-libs/lapack-atlas/Manifest +++ b/sci-libs/lapack-atlas/Manifest @@ -18,6 +18,10 @@ AUX lapack-reference-3.0-autotool.patch 21729 RMD160 9929682d01a0ed8f90b37c797f8 MD5 beb5fc304163a0e8ee0b5ce6f34019ea files/lapack-reference-3.0-autotool.patch 21729 RMD160 9929682d01a0ed8f90b37c797f882aa5c9547147 files/lapack-reference-3.0-autotool.patch 21729 SHA256 d5d74fe14c61ef836e03edff65fd685b5c230ce9ed0f7d842936cf48752271a0 files/lapack-reference-3.0-autotool.patch 21729 +AUX lapack-reference-3.1.0-autotool.patch 18857 RMD160 fd14e174aba5e2086270e69bbd77c7a481481361 SHA1 41e6e5aedccc8abecab65940a34406d11746c13f SHA256 99cfbeb499217782f6e89c48e3487d827aa634f2e3d8b06fb0f83da0d2baf55f +MD5 22e99b41c6abc01cc817757976254d0b files/lapack-reference-3.1.0-autotool.patch 18857 +RMD160 fd14e174aba5e2086270e69bbd77c7a481481361 files/lapack-reference-3.1.0-autotool.patch 18857 +SHA256 99cfbeb499217782f6e89c48e3487d827aa634f2e3d8b06fb0f83da0d2baf55f files/lapack-reference-3.1.0-autotool.patch 18857 AUX unbuffered.patch 497 RMD160 c2a04b5243d32ff378ee76323611e7383464e019 SHA1 321bf9254f6df4d0914288583db00e8418b1e121 SHA256 e21636769e6bebbec34c79bc29b9fdf9c5dbe46803f835b44b102e9d7a90b64e MD5 e362a664ac2e543545706b85664af921 files/unbuffered.patch 497 RMD160 c2a04b5243d32ff378ee76323611e7383464e019 files/unbuffered.patch 497 @@ -35,6 +39,7 @@ DIST atlas3.7.24.tar.bz2 1776317 RMD160 c7bcfb157aa83a8087a3131342cbd1347f76ce64 DIST lapack-20020531-20021004.patch.bz2 59736 RMD160 126a579d242664dce53d23cdd7bef935e81b5031 SHA1 64f0e180a296c35a8050af293a6582e48d3394ae SHA256 19bcae60fcec3742563d8b27e21da52677b18520c54cf0cb7a51537ec3dbd29c DIST lapack-3.0.tgz 4991992 RMD160 630f9d7b4b37b0d39bccd4816198271b7e9e0cce SHA1 47d85508d87d60e32b613ef0c951d0be4bf10e72 SHA256 393613641f80745e7e8445fd0f3e4f5f66a5e340c8115cd4d780b0f53e2b31a6 DIST lapack-gentoo.patch 1272 RMD160 2bc28b1c8bbc7b77d977562e3550097bdb2a379b SHA1 8bf5087aa105be61032afd50f94a31cd3c362c9f SHA256 376b738c66dbbd8b116c3a48b99c1202dbd5c1c6c94865cf9df10ed48b78fb43 +DIST lapack-lite-3.1.0.tgz 5281148 RMD160 d70d42b6335ec44af2dd75b132c9d516265b032b SHA1 f7b14d47f71e76d6d8aebec5d05ce37c25353c72 SHA256 229953cd91c4eb53a554f5bbc5e5d1a4c0687c10e3fe96e3c88828538a159f3b EBUILD lapack-atlas-3.6.0-r1.ebuild 4916 RMD160 a0c9208292cdc2be59f32c7b3e9593e6c7786e69 SHA1 24d5f010af16491223ea3bb035ac620ee8d65879 SHA256 6b7e31f2574c1fdbe4fbf31db92c9b2d788cf859f0e943d748d16c241c13e3b1 MD5 b1c9d6f9dc5758dcd823ce061103ddfa lapack-atlas-3.6.0-r1.ebuild 4916 RMD160 a0c9208292cdc2be59f32c7b3e9593e6c7786e69 lapack-atlas-3.6.0-r1.ebuild 4916 @@ -55,14 +60,18 @@ EBUILD lapack-atlas-3.7.11.ebuild 6402 RMD160 5ebcecbb3fbeb87731be34b7f16cb94354 MD5 3a4200dc787b5a167555a27c7aa1fc88 lapack-atlas-3.7.11.ebuild 6402 RMD160 5ebcecbb3fbeb87731be34b7f16cb943540a0a73 lapack-atlas-3.7.11.ebuild 6402 SHA256 270da13b280b8f939e94c0aa6864c26a3eed8f4576412ad4bfa2455afaf475dd lapack-atlas-3.7.11.ebuild 6402 +EBUILD lapack-atlas-3.7.24-r1.ebuild 5475 RMD160 7eca1fd70696f7fa440c3195d2a209e4216f1239 SHA1 bd721c0a0bbd4ea56ee8b09a2ee9016d8c66b3a7 SHA256 73656026fe552a0912840627d0bb2049590a186caf8b2a05dc46c1fb20cdc847 +MD5 77ce89089bbbb88190c1c1073d99dbcf lapack-atlas-3.7.24-r1.ebuild 5475 +RMD160 7eca1fd70696f7fa440c3195d2a209e4216f1239 lapack-atlas-3.7.24-r1.ebuild 5475 +SHA256 73656026fe552a0912840627d0bb2049590a186caf8b2a05dc46c1fb20cdc847 lapack-atlas-3.7.24-r1.ebuild 5475 EBUILD lapack-atlas-3.7.24.ebuild 5005 RMD160 0fd0590f001a2515d9a5729013507f478cc4a3b9 SHA1 46e0ad54288a444315329df296fd38a216394231 SHA256 8cf8b260ec37d9a86183b4a1e2130a4fb544a961fb396a53033bee783b7c5694 MD5 7d533653d60154febc59ef52c301530c lapack-atlas-3.7.24.ebuild 5005 RMD160 0fd0590f001a2515d9a5729013507f478cc4a3b9 lapack-atlas-3.7.24.ebuild 5005 SHA256 8cf8b260ec37d9a86183b4a1e2130a4fb544a961fb396a53033bee783b7c5694 lapack-atlas-3.7.24.ebuild 5005 -MISC ChangeLog 9519 RMD160 71aab0d31bddae1eb3603ba9cdcbec8eb7caa971 SHA1 2388574c7a3f75f96c7b431cc7140fe30008585b SHA256 5d4af819e2d0c34be5b20a9570d3c96f6d30ae9f018d1844fcee90a73cf513fe -MD5 caff37e88ce36f8c20806cab8542d9ce ChangeLog 9519 -RMD160 71aab0d31bddae1eb3603ba9cdcbec8eb7caa971 ChangeLog 9519 -SHA256 5d4af819e2d0c34be5b20a9570d3c96f6d30ae9f018d1844fcee90a73cf513fe ChangeLog 9519 +MISC ChangeLog 9791 RMD160 e2a7f7287092633b2c736e3477b560391e375e33 SHA1 cc419c5b8a4d445aa07e7b0fe33d97b046d9d11f SHA256 92be936be7a71453e6b9da5997c8839e9758771e98371f2effb6fe18858cbeb6 +MD5 621e9de93658d23671dcd035ce621d6b ChangeLog 9791 +RMD160 e2a7f7287092633b2c736e3477b560391e375e33 ChangeLog 9791 +SHA256 92be936be7a71453e6b9da5997c8839e9758771e98371f2effb6fe18858cbeb6 ChangeLog 9791 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 @@ -85,3 +94,6 @@ SHA256 82054118ed38307850ecfe3f9293e093f9a77bc8dbfe50e727643f3a90b03856 files/di MD5 c70f163c9723c4aef5a6bb33cb20e036 files/digest-lapack-atlas-3.7.24 1024 RMD160 de346be0476daf1d589a49010452618302836402 files/digest-lapack-atlas-3.7.24 1024 SHA256 13eacc697e343de3afe3c9b84782bfcb281914b8ed6ecf9b158d43d651c25cc9 files/digest-lapack-atlas-3.7.24 1024 +MD5 43b5eb4666ec4131f8e9f7920806fa4a files/digest-lapack-atlas-3.7.24-r1 765 +RMD160 3905aed74459baa571d035c01b2ba68edfec4808 files/digest-lapack-atlas-3.7.24-r1 765 +SHA256 e53eb0dd170735ff192cc5cff1cfc48d9e8b0858e39be259ad47a95f8747c740 files/digest-lapack-atlas-3.7.24-r1 765 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." +} diff --git a/sci-libs/lapack-reference/Manifest b/sci-libs/lapack-reference/Manifest index 1e1957d84ad9..866cd80f3e3e 100644 --- a/sci-libs/lapack-reference/Manifest +++ b/sci-libs/lapack-reference/Manifest @@ -38,10 +38,10 @@ EBUILD lapack-reference-3.0.ebuild 3179 RMD160 c01edb21de8ac88a1603a63bf3246c724 MD5 93990b2706a738d176a5104ed10b9e11 lapack-reference-3.0.ebuild 3179 RMD160 c01edb21de8ac88a1603a63bf3246c72438593c9 lapack-reference-3.0.ebuild 3179 SHA256 39b5a80d719e14b791e94b8838a32c2c32d7403a112de1727590429ee14c89cc lapack-reference-3.0.ebuild 3179 -EBUILD lapack-reference-3.1.0.ebuild 1872 RMD160 f74a8da2c9e2477d0500d4db4df200f4eb304b2e SHA1 3064ffc8b92c4d03bc52336196e4a22db24af467 SHA256 1e792b7154628ba83b8799e2186f55e6a5a7670fde40506037866eb3de3766e1 -MD5 688a77cbc8a9fd0a48e76261a85a3a3c lapack-reference-3.1.0.ebuild 1872 -RMD160 f74a8da2c9e2477d0500d4db4df200f4eb304b2e lapack-reference-3.1.0.ebuild 1872 -SHA256 1e792b7154628ba83b8799e2186f55e6a5a7670fde40506037866eb3de3766e1 lapack-reference-3.1.0.ebuild 1872 +EBUILD lapack-reference-3.1.0.ebuild 1874 RMD160 f54825e96e341df29325122e30deb6d052132789 SHA1 0ad34ede371ce3db30cbe89e03b30e5eeba43765 SHA256 905a8214a2d19a117528c0374c916125c5e2f201ce758e09f11eefe82acf7414 +MD5 5385c8ddf4380d3157e1e5ffefbc6b8f lapack-reference-3.1.0.ebuild 1874 +RMD160 f54825e96e341df29325122e30deb6d052132789 lapack-reference-3.1.0.ebuild 1874 +SHA256 905a8214a2d19a117528c0374c916125c5e2f201ce758e09f11eefe82acf7414 lapack-reference-3.1.0.ebuild 1874 MISC ChangeLog 3667 RMD160 b93d5e6cd1bf4dc2a1c4bd95361d6f0b1f98fd94 SHA1 3a72308e7f97d8fff92cba915413dbb58d4aa586 SHA256 04f94f5424dd75ade72199e6bc5147df188ee129c45cda661b88f7d7beccff9b MD5 6c36d44a34d89404562892b9e83411a0 ChangeLog 3667 RMD160 b93d5e6cd1bf4dc2a1c4bd95361d6f0b1f98fd94 ChangeLog 3667 |