Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
SuperLU contains a set of subroutines to solve a sparse linear system
A*X=B. It uses Gaussian elimination with partial pivoting (GEPP). The
columns of A may be preordered before factorization; the preordering
for sparsity is completely separate from the factorization.
SuperLU is implemented in ANSI C, and must be compiled with standard
ANSI C compilers. It provides functionality for both real and complex
matrices, in both single and double precision.
+32
View File
@@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.21 2013/05/31 12:41:25 wiz Exp $
DISTNAME= superlu_3.0
PKGNAME= superlu-3.0.1
PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://crd.lbl.gov/~xiaoye/SuperLU/
COMMENT= ANSI C routine library for the solution of sparse linear systems
DEPENDS+= blas-[0-9]*:../../math/blas
BLAS_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= BLAS_PREFIX=blas
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/SuperLU_3.0
BUILD_TARGET= superlulib
TEST_DIRS= TESTING/MATGEN TESTING
TEST_TARGET= all
INSTALLATION_DIRS= lib
do-install:
${INSTALL_DATA} ${WRKSRC}/libsuperlu.a ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/superlu
${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${DESTDIR}${PREFIX}/include/superlu
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/superlu
${INSTALL_DATA} ${WRKSRC}/INSTALL/ug.ps ${DESTDIR}${PREFIX}/share/doc/superlu
.include "../../mk/bsd.pkg.mk"
+13
View File
@@ -0,0 +1,13 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:05:49 joerg Exp $
include/superlu/Cnames.h
include/superlu/colamd.h
include/superlu/csp_defs.h
include/superlu/dcomplex.h
include/superlu/dsp_defs.h
include/superlu/scomplex.h
include/superlu/ssp_defs.h
include/superlu/supermatrix.h
include/superlu/util.h
include/superlu/zsp_defs.h
lib/libsuperlu.a
share/doc/superlu/ug.ps
+13
View File
@@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 19:24:59 joerg Exp $
BUILDLINK_TREE+= superlu
.if !defined(SUPERLU_BUILDLINK3_MK)
SUPERLU_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.superlu+= superlu>=2.0nb2
BUILDLINK_PKGSRCDIR.superlu?= ../../math/superlu
BUILDLINK_DEPMETHOD.superlu?= build
.endif # SUPERLU_BUILDLINK3_MK
BUILDLINK_TREE+= -superlu
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.6 2005/02/23 12:06:58 agc Exp $
SHA1 (superlu-3.0.1/superlu_3.0.tar.gz) = 662803e2c2ec6c604884ba356219dec98eae0976
RMD160 (superlu-3.0.1/superlu_3.0.tar.gz) = eb570724216ae09fd53931caffce62ce5160e347
Size (superlu-3.0.1/superlu_3.0.tar.gz) = 1116795 bytes
SHA1 (patch-aa) = e35d3e257b091a9241f41c81b211de10af65f321
+54
View File
@@ -0,0 +1,54 @@
$NetBSD: patch-aa,v 1.3 2004/07/19 13:47:51 wiz Exp $
--- make.inc.orig 2004-02-05 20:01:19.000000000 +0100
+++ make.inc
@@ -16,29 +16,30 @@
#
# The machine (platform) identifier to append to the library names
#
-PLAT = _solaris
+PLAT =
#
# The name of the libraries to be created/linked to
#
-TMGLIB = tmglib$(PLAT).a
-SUPERLULIB = superlu$(PLAT).a
-BLASLIB = ../blas$(PLAT).a
+TMGLIB = tmglib.a
+SUPERLULIB = libsuperlu.a
+BLASDEF = -DUSE_VENDOR_BLAS
+BLASLIB = -L${BLAS_PREFIX}/lib -lblas
#
# The archiver and the flag(s) to use when building archive (library)
# If your system has no ranlib, set RANLIB = echo.
#
-ARCH = ar
-ARCHFLAGS = cr
-RANLIB = ranlib
+ARCH = ${AR}
+ARCHFLAGS = cru
+#RANLIB = ranlib
-CC = cc
-CFLAGS = -xO3 -xcg92
-FORTRAN = f77
-FFLAGS = -O
-LOADER = cc
-LOADOPTS = -xO3
+#CC = cc
+#CFLAGS = -xO3 -xcg92
+FORTRAN = ${FC}
+#FFLAGS = -O
+LOADER = ${CC}
+LOADOPTS = ${LDFLAGS}
#
# C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
@@ -47,4 +48,4 @@ CDEFS = -DAdd_
#
# The directory in which Matlab is installed
#
-MATLAB = /usr/sww/matlab
+# MATLAB = /usr/sww/matlab