diff options
author | wennmach <wennmach> | 2000-11-06 17:55:12 +0000 |
---|---|---|
committer | wennmach <wennmach> | 2000-11-06 17:55:12 +0000 |
commit | 5aafae7eb68927c5df9a187b0b26c5b2706497e4 (patch) | |
tree | 9f7e7720959a7f7a7202eb57006b5b827fa4cba9 /math/blas | |
parent | 988d0d02aa806c493bba5d9af6c708cf9092ec03 (diff) | |
download | pkgsrc-5aafae7eb68927c5df9a187b0b26c5b2706497e4.tar.gz |
Initial import of blas-1.0, Basic Linear Algebra Subroutines for Fortran.
Submitted by Jason Beegan <jasontd@indigo.ie> in PR 11384.
Diffstat (limited to 'math/blas')
-rw-r--r-- | math/blas/Makefile | 27 | ||||
-rw-r--r-- | math/blas/files/Makefile | 41 | ||||
-rw-r--r-- | math/blas/files/md5 | 3 | ||||
-rw-r--r-- | math/blas/pkg/COMMENT | 1 | ||||
-rw-r--r-- | math/blas/pkg/DESCR | 7 | ||||
-rw-r--r-- | math/blas/pkg/PLIST | 4 |
6 files changed, 83 insertions, 0 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile new file mode 100644 index 00000000000..ca7fc8b355a --- /dev/null +++ b/math/blas/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/06 17:55:12 wennmach Exp $ +# + +DISTNAME= blas +PKGNAME= blas-1.0 +CATEGORIES= math +MASTER_SITES= ftp://ftp.netlib.org/blas/ \ + ftp://netlib.bell-labs.com/netlib/blas/ \ + ftp://www.hensa.ac.uk/mirrors/netlib/blas/ +EXTRACT_SUFX= .tgz + +MAINTAINER= jasontd@indigo.ie + +WRKSRC= ${WRKDIR} +NO_WRKSUBDIR= YES +USE_LIBTOOL= YES +USE_FORTRAN= YES + +FFLAGS= -O3 + +.include "../../mk/bsd.prefs.mk" + +pre-build: + ${SED} -e 's:%%FORTRAN%%:'${FC}':g;s:%%FFLAGS%%:'${FFLAGS}':g' \ + < ${FILESDIR}/Makefile > ${WRKSRC}/Makefile + +.include "../../mk/bsd.pkg.mk" diff --git a/math/blas/files/Makefile b/math/blas/files/Makefile new file mode 100644 index 00000000000..12dd25d1662 --- /dev/null +++ b/math/blas/files/Makefile @@ -0,0 +1,41 @@ +LIB = blas + +LIBDIR = ${PREFIX}/lib +FORTRAN = %%FORTRAN%% +FFLAGS = %%FFLAGS%% + +all: lib$(LIB) + +OBJ= caxpy.o ccopy.o cdotc.o cdotu.o cgbmv.o cgemm.o cgemv.o cgerc.o \ +cgeru.o chbmv.o chemm.o chemv.o cher.o cher2.o cher2k.o cherk.o \ +chpmv.o chpr.o chpr2.o crotg.o cscal.o csrot.o csscal.o cswap.o \ +csymm.o csyr2k.o csyrk.o ctbmv.o ctbsv.o ctpmv.o ctpsv.o ctrmm.o \ +ctrmv.o ctrsm.o ctrsv.o dasum.o daxpy.o dcabs1.o dcopy.o ddot.o \ +dgbmv.o dgemm.o dgemv.o dger.o dnrm2.o drot.o drotg.o drotm.o drotmg.o \ +dsbmv.o dscal.o dsdot.o dspmv.o dspr.o dspr2.o dswap.o dsymm.o dsymv.o \ +dsyr.o dsyr2.o dsyr2k.o dsyrk.o dtbmv.o dtbsv.o dtpmv.o dtpsv.o \ +dtrmm.o dtrmv.o dtrsm.o dtrsv.o dzasum.o dznrm2.o icamax.o idamax.o \ +isamax.o izamax.o lsame.o sasum.o saxpy.o scasum.o scnrm2.o scopy.o \ +sdot.o sdsdot.o sgbmv.o sgemm.o sgemv.o sger.o snrm2.o srot.o srotg.o \ +srotm.o srotmg.o ssbmv.o sscal.o sspmv.o sspr.o sspr2.o sswap.o \ +ssymm.o ssymv.o ssyr.o ssyr2.o ssyr2k.o ssyrk.o stbmv.o stbsv.o \ +stpmv.o stpsv.o strmm.o strmv.o strsm.o strsv.o xerbla.o zaxpy.o \ +zcopy.o zdotc.o zdotu.o zdrot.o zdscal.o zgbmv.o zgemm.o zgemv.o \ +zgerc.o zgeru.o zhbmv.o zhemm.o zhemv.o zher.o zher2.o zher2k.o \ +zherk.o zhpmv.o zhpr.o zhpr2.o zrotg.o zscal.o zswap.o zsymm.o \ +zsyr2k.o zsyrk.o ztbmv.o ztbsv.o ztpmv.o ztpsv.o ztrmm.o ztrmv.o \ +ztrsm.o ztrsv.o + + +lib$(LIB): $(OBJ) + @$(LIBTOOL) --mode=link $(FORTRAN) -O -o lib$(LIB).la $(OBJ:.o=.lo) \ + -rpath $(LIBDIR) + +install: lib$(LIB) + @$(LIBTOOL) --mode=install install -c lib$(LIB).la $(LIBDIR) + +.f.o: + @$(LIBTOOL) --mode=compile $(FORTRAN) $(FFLAGS) -c $*.f + +clean: + rm -rf *.o *.lo .libs lib$(LIB).la diff --git a/math/blas/files/md5 b/math/blas/files/md5 new file mode 100644 index 00000000000..55c770d7f33 --- /dev/null +++ b/math/blas/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/11/06 17:55:12 wennmach Exp $ + +MD5 (blas.tgz) = 5811e4b3dffa7a10956abf923cec1bd4 diff --git a/math/blas/pkg/COMMENT b/math/blas/pkg/COMMENT new file mode 100644 index 00000000000..4eb65655f5d --- /dev/null +++ b/math/blas/pkg/COMMENT @@ -0,0 +1 @@ +Basic Linear Algebra Subroutines (Fortran) diff --git a/math/blas/pkg/DESCR b/math/blas/pkg/DESCR new file mode 100644 index 00000000000..b0068e2751f --- /dev/null +++ b/math/blas/pkg/DESCR @@ -0,0 +1,7 @@ +The BLAS (Basic Linear Algebra Subroutines) are high quality "building +block" routines for performing basic vector and matrix +operations. Level 1 BLAS do vector-vector operations, Level 2 BLAS do +matrix-vector operations, and Level 3 BLAS do matrix-matrix +operations. Because the BLAS are efficient, portable, and widely +available, they're commonly used in the development of high quality +linear algebra software, LINPACK and LAPACK for example. diff --git a/math/blas/pkg/PLIST b/math/blas/pkg/PLIST new file mode 100644 index 00000000000..9187d5b3c86 --- /dev/null +++ b/math/blas/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/06 17:55:12 wennmach Exp $ +lib/libblas.a +lib/libblas.la +lib/libblas.so.0.0 |