From 131b71fb8fc3c867f81714dc7e3d225a02453890 Mon Sep 17 00:00:00 2001 From: jtb Date: Thu, 1 Feb 2001 23:30:56 +0000 Subject: Initial import of lapack: Linear Algebra PACKage --- math/lapack/Makefile | 20 ++++++++++++++++ math/lapack/files/md5 | 3 +++ math/lapack/files/patch-sum | 4 ++++ math/lapack/patches/patch-aa | 13 +++++++++++ math/lapack/patches/patch-ab | 54 ++++++++++++++++++++++++++++++++++++++++++++ math/lapack/pkg/COMMENT | 1 + math/lapack/pkg/DESCR | 10 ++++++++ math/lapack/pkg/PLIST | 1 + 8 files changed, 106 insertions(+) create mode 100644 math/lapack/Makefile create mode 100644 math/lapack/files/md5 create mode 100644 math/lapack/files/patch-sum create mode 100644 math/lapack/patches/patch-aa create mode 100644 math/lapack/patches/patch-ab create mode 100644 math/lapack/pkg/COMMENT create mode 100644 math/lapack/pkg/DESCR create mode 100644 math/lapack/pkg/PLIST diff --git a/math/lapack/Makefile b/math/lapack/Makefile new file mode 100644 index 00000000000..dfdc8786625 --- /dev/null +++ b/math/lapack/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ + +DISTNAME= lapack-20010201 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://www.netlib.org/lapack/index.html + +DEPENDS+= blas-[0-9]*:../../math/blas + +NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL +WRKSRC= ${WRKDIR}/LAPACK +USE_FORTRAN= YES +EVAL_PREFIX+= BLAS_PREFIX=blas + +do-install: + ${INSTALL_DATA} ${WRKSRC}/liblapack.a ${PREFIX}/lib + +.include "../../mk/bsd.pkg.mk" diff --git a/math/lapack/files/md5 b/math/lapack/files/md5 new file mode 100644 index 00000000000..587b34a410f --- /dev/null +++ b/math/lapack/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ + +MD5 (lapack-20010201.tar.gz) = a24f59304f87b78cdc7da2ae59c98664 diff --git a/math/lapack/files/patch-sum b/math/lapack/files/patch-sum new file mode 100644 index 00000000000..1b73688c6a7 --- /dev/null +++ b/math/lapack/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ + +MD5 (patch-aa) = cbd7de7bedef860b5e71c926f3c2217f +MD5 (patch-ab) = e1b73e3328fb371dc088234f2cc041ef diff --git a/math/lapack/patches/patch-aa b/math/lapack/patches/patch-aa new file mode 100644 index 00000000000..d3ead837b4b --- /dev/null +++ b/math/lapack/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ + +--- Makefile.orig Wed May 17 17:33:22 2000 ++++ Makefile +@@ -6,7 +6,7 @@ + + include make.inc + +-all: install lib testing blas_testing timing blas_timing ++all: install lapacklib + + lib: lapacklib tmglib + #lib: blaslib lapacklib tmglib diff --git a/math/lapack/patches/patch-ab b/math/lapack/patches/patch-ab new file mode 100644 index 00000000000..088e473cc73 --- /dev/null +++ b/math/lapack/patches/patch-ab @@ -0,0 +1,54 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ + +--- make.inc.orig Thu Nov 4 19:23:14 1999 ++++ make.inc +@@ -8,7 +8,7 @@ + # + # The machine (platform) identifier to append to the library names + # +-PLAT = _SUN4SOL2 ++PLAT = + # + # Modify the FORTRAN and OPTS definitions to refer to the + # compiler and desired compiler options for your machine. NOOPT +@@ -16,23 +16,23 @@ + # selected. Define LOADER and LOADOPTS to refer to the loader and + # desired load options for your machine. + # +-FORTRAN = f77 ++FORTRAN = $(FC) + #OPTS = -O4 -u -f -mt + #OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa +-OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa ++OPTS = $(FFLAGS) + DRVOPTS = $(OPTS) +-NOOPT = -u -f ++NOOPT = + #NOOPT = -u -f -mt + LOADER = f77 + #LOADOPTS = -mt +-LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa ++LOADOPTS = $(LDFLAGS) + # + # The archiver and the flag(s) to use when building archive (library) + # If you system has no ranlib, set RANLIB = echo. + # +-ARCH = ar ++ARCH = $(AR) + ARCHFLAGS= cr +-RANLIB = echo ++#RANLIB = echo + # + # The location of the libraries to which you will link. (The + # machine-specific, optimized BLAS library should be used whenever +@@ -40,8 +40,8 @@ + # + #BLASLIB = ../../blas$(PLAT).a + #BLASLIB = -xlic_lib=sunperf_mt +-BLASLIB = -xlic_lib=sunperf +-LAPACKLIB = lapack$(PLAT).a ++BLASLIB = -L${BLAS_PREFIX}/lib -lblas ++LAPACKLIB = liblapack.a + TMGLIB = tmglib$(PLAT).a + EIGSRCLIB = eigsrc$(PLAT).a + LINSRCLIB = linsrc$(PLAT).a diff --git a/math/lapack/pkg/COMMENT b/math/lapack/pkg/COMMENT new file mode 100644 index 00000000000..371be1cb87e --- /dev/null +++ b/math/lapack/pkg/COMMENT @@ -0,0 +1 @@ +Linear Algebra PACKage diff --git a/math/lapack/pkg/DESCR b/math/lapack/pkg/DESCR new file mode 100644 index 00000000000..72e7874eff6 --- /dev/null +++ b/math/lapack/pkg/DESCR @@ -0,0 +1,10 @@ +LAPACK is a highly portable Fortran 77 library which provides routines +for solving systems of simultaneous linear equations, least-squares +solutions of linear systems of equations, eigenvalue problems, and +singular value problems. The associated matrix factorizations (LU, +Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are +related computations such as reordering of the Schur factorizations +and estimating condition numbers. Dense and banded matrices are +handled, but not general sparse matrices. In all areas, similar +functionality is provided for real and complex matrices, in both +single and double precision. diff --git a/math/lapack/pkg/PLIST b/math/lapack/pkg/PLIST new file mode 100644 index 00000000000..e549691122e --- /dev/null +++ b/math/lapack/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ -- cgit v1.2.3