diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-03-14 14:24:38 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-03-14 14:24:38 +0000 |
commit | 125d9f0db8039d6cb050f8dfa68b76f3c70e4b46 (patch) | |
tree | 32a0db16d474c378c194304d25ccc32e4a06b20a /sci-libs/lapack-atlas | |
parent | Removed unneeded dependency I missed last update (diff) | |
download | historical-125d9f0db8039d6cb050f8dfa68b76f3c70e4b46.tar.gz historical-125d9f0db8039d6cb050f8dfa68b76f3c70e4b46.tar.bz2 historical-125d9f0db8039d6cb050f8dfa68b76f3c70e4b46.zip |
New revision uses latest lapack-3.1.1.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sci-libs/lapack-atlas')
-rw-r--r-- | sci-libs/lapack-atlas/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/Manifest | 30 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r2 | 9 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/files/lapack-reference-3.1.1-autotool.patch | 417 | ||||
-rw-r--r-- | sci-libs/lapack-atlas/lapack-atlas-3.7.24-r2.ebuild | 184 |
5 files changed, 634 insertions, 15 deletions
diff --git a/sci-libs/lapack-atlas/ChangeLog b/sci-libs/lapack-atlas/ChangeLog index 32e203b594a3..d2410c87b7fd 100644 --- a/sci-libs/lapack-atlas/ChangeLog +++ b/sci-libs/lapack-atlas/ChangeLog @@ -1,6 +1,13 @@ # 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.39 2007/03/13 00:27:07 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.40 2007/03/14 14:24:38 markusle Exp $ + +*lapack-atlas-3.7.24-r2 (13 Mar 2007) + + 13 Mar 2007; Markus Dittrich <markusle@gentoo.org> + +files/lapack-reference-3.1.1-autotool.patch, + +lapack-atlas-3.7.24-r2.ebuild: + New revision uses latest lapack-3.1.1. 13 Mar 2007; Danny van Dyk <kugelfang@gentoo.org> lapack-atlas-3.6.0.ebuild: diff --git a/sci-libs/lapack-atlas/Manifest b/sci-libs/lapack-atlas/Manifest index 1cf8a79c49af..951d28496617 100644 --- a/sci-libs/lapack-atlas/Manifest +++ b/sci-libs/lapack-atlas/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 3.7.11-allow-any-gcc-version.patch 841 RMD160 0274d6286be0d35fb4bcc1a3b6e39b4a5179bbfa SHA1 da0157ab5932188865ae5573eb40c2548abdd71a SHA256 9031e6386d5e082be14d7d6e67b38a833893a404193239746e9d94162ccd7c87 MD5 ba55197b98178c74b13d36833675ca88 files/3.7.11-allow-any-gcc-version.patch 841 RMD160 0274d6286be0d35fb4bcc1a3b6e39b4a5179bbfa files/3.7.11-allow-any-gcc-version.patch 841 @@ -25,6 +22,10 @@ AUX lapack-reference-3.1.0-autotool.patch 18857 RMD160 fd14e174aba5e2086270e69bb 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 lapack-reference-3.1.1-autotool.patch 18988 RMD160 0da330f4f8584bf7d3226363b79a03777dec6b04 SHA1 4e05458a5f6b54090ce249f6b94c29d59d0d0a3a SHA256 770361ec42aa3ec90fb2269180e8c816961d1fa906e06f58c12bea9ebe6bc0b7 +MD5 8e9970116104c99a5e56725268cf40cb files/lapack-reference-3.1.1-autotool.patch 18988 +RMD160 0da330f4f8584bf7d3226363b79a03777dec6b04 files/lapack-reference-3.1.1-autotool.patch 18988 +SHA256 770361ec42aa3ec90fb2269180e8c816961d1fa906e06f58c12bea9ebe6bc0b7 files/lapack-reference-3.1.1-autotool.patch 18988 AUX unbuffered.patch 497 RMD160 c2a04b5243d32ff378ee76323611e7383464e019 SHA1 321bf9254f6df4d0914288583db00e8418b1e121 SHA256 e21636769e6bebbec34c79bc29b9fdf9c5dbe46803f835b44b102e9d7a90b64e MD5 e362a664ac2e543545706b85664af921 files/unbuffered.patch 497 RMD160 c2a04b5243d32ff378ee76323611e7383464e019 files/unbuffered.patch 497 @@ -43,6 +44,7 @@ DIST lapack-20020531-20021004.patch.bz2 59736 RMD160 126a579d242664dce53d23cdd7b 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 +DIST lapack-lite-3.1.1.tgz 5332509 RMD160 d81baafd1f0f9859d9f75ac9b658f743544b5f5b SHA1 1ec4ef90b544cf82bc7b4f770cee6fb46da457c5 SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 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 @@ -67,14 +69,18 @@ EBUILD lapack-atlas-3.7.24-r1.ebuild 5475 RMD160 7eca1fd70696f7fa440c3195d2a209e 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-r2.ebuild 5480 RMD160 b1ef60ce05f1e9dda0100168a6672ede6571c46e SHA1 fd545f8eaad83476d530aa1a91e8cac041dfd017 SHA256 d440131f42a8de7a297cfbba68c3ee4a8b954ab165f18819d5c97e3a6399d8bc +MD5 7c308ada092e8f47061493442259464d lapack-atlas-3.7.24-r2.ebuild 5480 +RMD160 b1ef60ce05f1e9dda0100168a6672ede6571c46e lapack-atlas-3.7.24-r2.ebuild 5480 +SHA256 d440131f42a8de7a297cfbba68c3ee4a8b954ab165f18819d5c97e3a6399d8bc lapack-atlas-3.7.24-r2.ebuild 5480 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 9897 RMD160 93ce8ab419d15b885a6732590fc5e6255e22228d SHA1 b5cf8229af699cc4ce54a78494b7981e6b55b51b SHA256 f4e2fffcef57e7dd6440ef01c26ebb02576042dddde63afe135b96cbc74c3738 -MD5 08fdda53eac6e575e4dc96b0fc1b677a ChangeLog 9897 -RMD160 93ce8ab419d15b885a6732590fc5e6255e22228d ChangeLog 9897 -SHA256 f4e2fffcef57e7dd6440ef01c26ebb02576042dddde63afe135b96cbc74c3738 ChangeLog 9897 +MISC ChangeLog 10112 RMD160 71933c302b143a3fe7099ce0779d3a5a7a74d6f3 SHA1 70e96f88ccc5fd4b28b82b79b3840e40b03be4f1 SHA256 543a9273646c5a042cac2de25e5d17e64c24c07b252f1cdefa8fe85c61ee24d3 +MD5 f97d22f7d4f8f7cb7620e085fff12adb ChangeLog 10112 +RMD160 71933c302b143a3fe7099ce0779d3a5a7a74d6f3 ChangeLog 10112 +SHA256 543a9273646c5a042cac2de25e5d17e64c24c07b252f1cdefa8fe85c61ee24d3 ChangeLog 10112 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 @@ -100,10 +106,6 @@ SHA256 13eacc697e343de3afe3c9b84782bfcb281914b8ed6ecf9b158d43d651c25cc9 files/di 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 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFF9e/75mJXAu5GbtIRAj2YAJ4ww5o88Y0ALEqsSrIHyYIfsYkCuQCfUNnb -KoywmAoiX6pLLj5JWWsChls= -=vlo1 ------END PGP SIGNATURE----- +MD5 3e966bb5cf24706b5248cca37682b428 files/digest-lapack-atlas-3.7.24-r2 765 +RMD160 f30518000e3f79badbc3eb7ed3e93aa14621e727 files/digest-lapack-atlas-3.7.24-r2 765 +SHA256 deb0715c2ccfd12aafcd8ce2ded5f38321d3bd4a15b7a0142cc24953ec3fd8e6 files/digest-lapack-atlas-3.7.24-r2 765 diff --git a/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r2 b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r2 new file mode 100644 index 000000000000..c98c38028fc4 --- /dev/null +++ b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.24-r2 @@ -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 5feace3f4507a92ef822b2e0b50151d7 lapack-lite-3.1.1.tgz 5332509 +RMD160 d81baafd1f0f9859d9f75ac9b658f743544b5f5b lapack-lite-3.1.1.tgz 5332509 +SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 lapack-lite-3.1.1.tgz 5332509 diff --git a/sci-libs/lapack-atlas/files/lapack-reference-3.1.1-autotool.patch b/sci-libs/lapack-atlas/files/lapack-reference-3.1.1-autotool.patch new file mode 100644 index 000000000000..d9a9b479bfdb --- /dev/null +++ b/sci-libs/lapack-atlas/files/lapack-reference-3.1.1-autotool.patch @@ -0,0 +1,417 @@ +diff -Naur lapack-lite-3.1.1/INSTALL/Makefile.am lapack-lite-3.1.1.new/INSTALL/Makefile.am +--- lapack-lite-3.1.1/INSTALL/Makefile.am 1969-12-31 19:00:00.000000000 -0500 ++++ lapack-lite-3.1.1.new/INSTALL/Makefile.am 2007-03-08 23:57:43.000000000 -0500 +@@ -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_EXT_ETIME.f secondtst.f ++testdsecnd_SOURCES = dsecnd_EXT_ETIME.f dsecndtst.f ++testieee_SOURCES = tstiee.f ++ ++EXTRA_DIST = \ ++ lawn81.pdf \ ++ lawn81.ps \ ++ lawn81.tex \ ++ org2.ps \ ++ psfig.tex +diff -Naur lapack-lite-3.1.1/Makefile.am lapack-lite-3.1.1.new/Makefile.am +--- lapack-lite-3.1.1/Makefile.am 1969-12-31 19:00:00.000000000 -0500 ++++ lapack-lite-3.1.1.new/Makefile.am 2007-03-08 23:57:43.000000000 -0500 +@@ -0,0 +1,3 @@ ++SUBDIRS = INSTALL SRC ++ ++EXTRA_DIST = README +diff -Naur lapack-lite-3.1.1/SRC/Makefile.am lapack-lite-3.1.1.new/SRC/Makefile.am +--- lapack-lite-3.1.1/SRC/Makefile.am 1969-12-31 19:00:00.000000000 -0500 ++++ lapack-lite-3.1.1.new/SRC/Makefile.am 2007-03-08 23:58:18.000000000 -0500 +@@ -0,0 +1,306 @@ ++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_EXT_ETIME.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_EXT_ETIME.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 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 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_LDFLAGS = -lblas ++ ++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 -Naur lapack-lite-3.1.1/configure.ac lapack-lite-3.1.1.new/configure.ac +--- lapack-lite-3.1.1/configure.ac 1969-12-31 19:00:00.000000000 -0500 ++++ lapack-lite-3.1.1.new/configure.ac 2007-03-08 23:57:43.000000000 -0500 +@@ -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 --git a/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r2.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r2.ebuild new file mode 100644 index 000000000000..d5ea3aa68b18 --- /dev/null +++ b/sci-libs/lapack-atlas/lapack-atlas-3.7.24-r2.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-r2.ebuild,v 1.1 2007/03/14 14:24:38 markusle Exp $ + +inherit eutils flag-o-matic toolchain-funcs fortran + +MY_PN="${PN/lapack-/}" +L_PN="lapack" +L_PV="3.1.1" + +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}-lite-${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." +} |