diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2012-02-01 01:35:33 -0600 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2012-02-01 01:35:33 -0600 |
commit | e80fbd1a17f3b41bc13792e5f43eccac19522411 (patch) | |
tree | 53f9095277053aed2a04eaa9e819df3819e88eef /extra/lapack | |
parent | 1d455d585a64ba0c90b71e98bd3030af57b29e0e (diff) | |
parent | 5330206481631dda2c1e585b758c58f90ab807ee (diff) |
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'extra/lapack')
-rw-r--r-- | extra/lapack/Makefile.lapack | 75 | ||||
-rw-r--r-- | extra/lapack/PKGBUILD | 20 |
2 files changed, 55 insertions, 40 deletions
diff --git a/extra/lapack/Makefile.lapack b/extra/lapack/Makefile.lapack index 42579d43a..3443d7000 100644 --- a/extra/lapack/Makefile.lapack +++ b/extra/lapack/Makefile.lapack @@ -3,24 +3,30 @@ include ../make.inc ####################################################################### # This is the makefile to create a library for LAPACK. # The files are organized as follows: -# ALLAUX -- Auxiliary routines called from all precisions -# ALLXAUX -- Auxiliary routines called from all precisions but -# only from routines using extra precision. -# SCLAUX -- Auxiliary routines called from both REAL and COMPLEX -# DZLAUX -- Auxiliary routines called from both DOUBLE PRECISION -# and COMPLEX*16 -# SLASRC -- Single precision real LAPACK routines +# ALLAUX -- Auxiliary routines called from all precisions +# +# SCLAUX -- Auxiliary routines called from both REAL and COMPLEX. +# DZLAUX -- Auxiliary routines called from both DOUBLE and COMPLEX*16. +# +# DSLASRC -- Double-single mixed precision real routines called from +# single, single-extra and double precision real LAPACK +# routines (i.e. from SLASRC, SXLASRC, DLASRC). +# ZCLASRC -- Double-single mixed precision complex routines called from +# single, single-extra and double precision complex LAPACK +# routines (i.e. from CLASRC, CXLASRC, ZLASRC). +# +# SLASRC -- Single precision real LAPACK routines # SXLASRC -- Single precision real LAPACK routines using extra # precision. -# CLASRC -- Single precision complex LAPACK routines +# CLASRC -- Single precision complex LAPACK routines # CXLASRC -- Single precision complex LAPACK routines using extra # precision. -# DLASRC -- Double precision real LAPACK routines +# DLASRC -- Double precision real LAPACK routines # DXLASRC -- Double precision real LAPACK routines using extra # precision. -# ZLASRC -- Double precision complex LAPACK routines +# ZLASRC -- Double precision complex LAPACK routines # ZXLASRC -- Double precision complex LAPACK routines using extra -# precision. +# precision. # # The library can be set up to include routines for any combination # of the four precisions. To create or add to the library, enter make @@ -52,8 +58,6 @@ ALLAUX = ilaenv.o ieeeck.o lsamen.o xerbla.o xerbla_array.o iparmq.o \ ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \ ../INSTALL/ilaver.o ../INSTALL/lsame.o ../INSTALL/slamch.o -ALLXAUX = - SCLAUX = \ sbdsdc.o \ sbdsqr.o sdisna.o slabad.o slacpy.o sladiv.o slae2.o slaebz.o \ @@ -123,7 +127,7 @@ SLASRC = \ sormr3.o sormrq.o sormrz.o sormtr.o spbcon.o spbequ.o spbrfs.o \ spbstf.o spbsv.o spbsvx.o \ spbtf2.o spbtrf.o spbtrs.o spocon.o spoequ.o sporfs.o sposv.o \ - sposvx.o spotf2.o spotri.o spstrf.o spstf2.o \ + sposvx.o spotf2.o spotri.o spstrf.o spstf2.o \ sppcon.o sppequ.o \ spprfs.o sppsv.o sppsvx.o spptrf.o spptri.o spptrs.o sptcon.o \ spteqr.o sptrfs.o sptsv.o sptsvx.o spttrs.o sptts2.o srscl.o \ @@ -144,17 +148,21 @@ SLASRC = \ stfttr.o stpttf.o stpttr.o strttf.o strttp.o \ sgejsv.o sgesvj.o sgsvj0.o sgsvj1.o \ sgeequb.o ssyequb.o spoequb.o sgbequb.o \ - sbbcsd.o slapmr.o sorbdb.o sorcsd.o + sbbcsd.o slapmr.o sorbdb.o sorcsd.o \ + sgeqrt.o sgeqrt2.o sgeqrt3.o sgemqrt.o \ + stpqrt.o stpqrt2.o stpmqrt.o stprfb.o DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o +ifdef USEXBLAS SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o \ - sla_gercond.o sla_rpvgrw.o ssysvxx.o ssyrfsx.o \ + sla_gercond.o sla_gerpvgrw.o ssysvxx.o ssyrfsx.o \ sla_syrfsx_extended.o sla_syamv.o sla_syrcond.o sla_syrpvgrw.o \ sposvxx.o sporfsx.o sla_porfsx_extended.o sla_porcond.o \ sla_porpvgrw.o sgbsvxx.o sgbrfsx.o sla_gbrfsx_extended.o \ sla_gbamv.o sla_gbrcond.o sla_gbrpvgrw.o sla_lin_berr.o slarscl2.o \ slascl2.o sla_wwaddw.o +endif CLASRC = \ cbdsqr.o cgbbrd.o cgbcon.o cgbequ.o cgbrfs.o cgbsv.o cgbsvx.o \ @@ -173,7 +181,8 @@ CLASRC = \ checon.o cheev.o cheevd.o cheevr.o cheevx.o chegs2.o chegst.o \ chegv.o chegvd.o chegvx.o cherfs.o chesv.o chesvx.o chetd2.o \ chetf2.o chetrd.o \ - chetrf.o chetri.o chetrs.o chetrs2.o chgeqz.o chpcon.o chpev.o chpevd.o \ + chetrf.o chetri.o chetri2.o chetri2x.o cheswapr.o \ + chetrs.o chetrs2.o chgeqz.o chpcon.o chpev.o chpevd.o \ chpevx.o chpgst.o chpgv.o chpgvd.o chpgvx.o chprfs.o chpsv.o \ chpsvx.o \ chptrd.o chptrf.o chptri.o chptrs.o chsein.o chseqr.o clabrd.o \ @@ -213,10 +222,13 @@ CLASRC = \ chfrk.o ctfttp.o clanhf.o cpftrf.o cpftri.o cpftrs.o ctfsm.o ctftri.o \ ctfttr.o ctpttf.o ctpttr.o ctrttf.o ctrttp.o \ cgeequb.o cgbequb.o csyequb.o cpoequb.o cheequb.o \ - cbbcsd.o clapmr.o cunbdb.o cuncsd.o + cbbcsd.o clapmr.o cunbdb.o cuncsd.o \ + cgeqrt.o cgeqrt2.o cgeqrt3.o cgemqrt.o \ + ctpqrt.o ctpqrt2.o ctpmqrt.o ctprfb.o -CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \ - cla_gercond_c.o cla_gercond_x.o cla_rpvgrw.o \ +ifdef USEXBLAS +CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \ + cla_gercond_c.o cla_gercond_x.o cla_gerpvgrw.o \ csysvxx.o csyrfsx.o cla_syrfsx_extended.o cla_syamv.o \ cla_syrcond_c.o cla_syrcond_x.o cla_syrpvgrw.o \ cposvxx.o cporfsx.o cla_porfsx_extended.o \ @@ -226,6 +238,7 @@ CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \ chesvxx.o cherfsx.o cla_herfsx_extended.o cla_heamv.o \ cla_hercond_c.o cla_hercond_x.o cla_herpvgrw.o \ cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o +endif ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o @@ -285,15 +298,19 @@ DLASRC = \ dtfttr.o dtpttf.o dtpttr.o dtrttf.o dtrttp.o \ dgejsv.o dgesvj.o dgsvj0.o dgsvj1.o \ dgeequb.o dsyequb.o dpoequb.o dgbequb.o \ - dbbcsd.o dlapmr.o dorbdb.o dorcsd.o + dbbcsd.o dlapmr.o dorbdb.o dorcsd.o \ + dgeqrt.o dgeqrt2.o dgeqrt3.o dgemqrt.o \ + dtpqrt.o dtpqrt2.o dtpmqrt.o dtprfb.o +ifdef USEXBLAS DXLASRC = dgesvxx.o dgerfsx.o dla_gerfsx_extended.o dla_geamv.o \ - dla_gercond.o dla_rpvgrw.o dsysvxx.o dsyrfsx.o \ + dla_gercond.o dla_gerpvgrw.o dsysvxx.o dsyrfsx.o \ dla_syrfsx_extended.o dla_syamv.o dla_syrcond.o dla_syrpvgrw.o \ dposvxx.o dporfsx.o dla_porfsx_extended.o dla_porcond.o \ dla_porpvgrw.o dgbsvxx.o dgbrfsx.o dla_gbrfsx_extended.o \ dla_gbamv.o dla_gbrcond.o dla_gbrpvgrw.o dla_lin_berr.o dlarscl2.o \ dlascl2.o dla_wwaddw.o +endif ZLASRC = \ zbdsqr.o zgbbrd.o zgbcon.o zgbequ.o zgbrfs.o zgbsv.o zgbsvx.o \ @@ -312,7 +329,8 @@ ZLASRC = \ zhecon.o zheev.o zheevd.o zheevr.o zheevx.o zhegs2.o zhegst.o \ zhegv.o zhegvd.o zhegvx.o zherfs.o zhesv.o zhesvx.o zhetd2.o \ zhetf2.o zhetrd.o \ - zhetrf.o zhetri.o zhetrs.o zhetrs2.o zhgeqz.o zhpcon.o zhpev.o zhpevd.o \ + zhetrf.o zhetri.o zhetri2.o zhetri2x.o zheswapr.o \ + zhetrs.o zhetrs2.o zhgeqz.o zhpcon.o zhpev.o zhpevd.o \ zhpevx.o zhpgst.o zhpgv.o zhpgvd.o zhpgvx.o zhprfs.o zhpsv.o \ zhpsvx.o \ zhptrd.o zhptrf.o zhptri.o zhptrs.o zhsein.o zhseqr.o zlabrd.o \ @@ -357,10 +375,13 @@ ZLASRC = \ zhfrk.o ztfttp.o zlanhf.o zpftrf.o zpftri.o zpftrs.o ztfsm.o ztftri.o \ ztfttr.o ztpttf.o ztpttr.o ztrttf.o ztrttp.o \ zgeequb.o zgbequb.o zsyequb.o zpoequb.o zheequb.o \ - zbbcsd.o zlapmr.o zunbdb.o zuncsd.o + zbbcsd.o zlapmr.o zunbdb.o zuncsd.o \ + zgeqrt.o zgeqrt2.o zgeqrt3.o zgemqrt.o \ + ztpqrt.o ztpqrt2.o ztpmqrt.o ztprfb.o +ifdef USEXBLAS ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx_extended.o zla_geamv.o \ - zla_gercond_c.o zla_gercond_x.o zla_rpvgrw.o zsysvxx.o zsyrfsx.o \ + zla_gercond_c.o zla_gercond_x.o zla_gerpvgrw.o zsysvxx.o zsyrfsx.o \ zla_syrfsx_extended.o zla_syamv.o zla_syrcond_c.o zla_syrcond_x.o \ zla_syrpvgrw.o zposvxx.o zporfsx.o zla_porfsx_extended.o \ zla_porcond_c.o zla_porcond_x.o zla_porpvgrw.o zgbsvxx.o zgbrfsx.o \ @@ -368,6 +389,7 @@ ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx_extended.o zla_geamv.o \ zla_gbrpvgrw.o zhesvxx.o zherfsx.o zla_herfsx_extended.o \ zla_heamv.o zla_hercond_c.o zla_hercond_x.o zla_herpvgrw.o \ zla_lin_berr.o zlarscl2.o zlascl2.o zla_wwaddw.o +endif all: ../$(LAPACKLIB) @@ -386,5 +408,4 @@ static: $(ALLOBJ) $(ALLXOBJ) ranlib liblapack.a shared: $(ALLOBJ) $(ALLXOBJ) - cc $(CFLAGS) -shared -Wl,-soname,liblapack.so.3 -o liblapack.so.3.3.1 $(ALLOBJ) -L.. -lblas -lm -lgfortran -lc - + cc $(CFLAGS) -shared -Wl,-soname,liblapack.so.3 -o liblapack.so.3.4.0 $(ALLOBJ) -L.. -lblas -lm -lgfortran -lc diff --git a/extra/lapack/PKGBUILD b/extra/lapack/PKGBUILD index 9a7dec0c7..93625827e 100644 --- a/extra/lapack/PKGBUILD +++ b/extra/lapack/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 131048 2011-07-09 21:48:17Z ronald $ +# $Id: PKGBUILD 147948 2012-01-28 21:21:33Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: damir <damir@archlinux.org> # Contributor: Jason Taylor <jftaylor21@gmail.com> pkgname=lapack -pkgver=3.3.1 -pkgrel=2 +pkgver=3.4.0 +pkgrel=1 url="http://www.netlib.org/lapack" pkgdesc="Linear Algebra PACKage" makedepends=('gcc-fortran') @@ -14,12 +14,13 @@ depends=("blas=${pkgver}") arch=('i686' 'x86_64' 'mips64el') license=("custom") source=(http://www.netlib.org/${pkgname}/${pkgname}-${pkgver}.tgz - lapack-3.1.1-make.inc.patch - Makefile.lapack) + Makefile.lapack) +sha1sums=('910109a931524f8dcc2734ce23fe927b00ca199f' + '2bedfe0d778b401b24d1fbf0eb1dc576d374be28') + build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/lapack-3.1.1-make.inc.patch" cp -f INSTALL/make.inc.gfortran make.inc cp -f "${srcdir}/Makefile.lapack" SRC/Makefile @@ -51,10 +52,3 @@ package() { "${pkgdir}/usr/share/licenses/lapack/" } -sha1sums=('3ce437e05f0e9a3c8148ec41922f6efeef0ebdac' - '71bf7696f1c841339163e82d863dd62e484eb1cf' - '128a258fde1b923c0b0b958a8a8ae8aa7657e44b' - '2491a151a37f0162b25fc4e4e9a8ac444b574a76') -sha1sums=('3ce437e05f0e9a3c8148ec41922f6efeef0ebdac' - '71bf7696f1c841339163e82d863dd62e484eb1cf' - 'bbc51c4204cfc6a8aed1a0b61dc39f57ce801e6d') |