summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-02-26 16:29:43 +0000
committerwiz <wiz@pkgsrc.org>2020-02-26 16:29:43 +0000
commit001132b29507b980ec2ec0f21145cebfb6c1571b (patch)
treeb5e67ef272d7f30b6be7ce3d293dd1e85466ce41 /math
parent726d3ab1de9122b94a5f9f598e0ffe93d563e5e3 (diff)
downloadpkgsrc-001132b29507b980ec2ec0f21145cebfb6c1571b.tar.gz
superlu: update to 5.2.1.
Changes not found, previous version was from 2003.
Diffstat (limited to 'math')
-rw-r--r--math/superlu/Makefile32
-rw-r--r--math/superlu/PLIST23
-rw-r--r--math/superlu/buildlink3.mk6
-rw-r--r--math/superlu/distinfo11
4 files changed, 28 insertions, 44 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index a6f216bebed..3847723a40b 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -1,32 +1,18 @@
-# $NetBSD: Makefile,v 1.28 2019/08/11 13:17:49 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2020/02/26 16:29:43 wiz Exp $
-DISTNAME= superlu_3.0
-PKGNAME= superlu-3.0.1
-PKGREVISION= 7
+DISTNAME= superlu-5.2.1
CATEGORIES= math
-MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=xiaoyeli/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://crd.lbl.gov/~xiaoye/SuperLU/
-COMMENT= ANSI C routine library for the solution of sparse linear systems
-
-# /usr/bin/ar: ../libsuperlu.a: Error reading dlamch.o: File truncated
-MAKE_JOBS_SAFE= no
+HOMEPAGE= https://portal.nersc.gov/project/sparse/superlu/
+COMMENT= Library for solving large, sparse, nonsymmetric systems of linear equations
DEPENDS+= blas-[0-9]*:../../math/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
+USE_CMAKE= yes
+USE_LANGUAGES= c fortran
+TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"
diff --git a/math/superlu/PLIST b/math/superlu/PLIST
index 6e448d870f2..f576e3f6b83 100644
--- a/math/superlu/PLIST
+++ b/math/superlu/PLIST
@@ -1,13 +1,12 @@
-@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
+@comment $NetBSD: PLIST,v 1.4 2020/02/26 16:29:43 wiz Exp $
+include/slu_Cnames.h
+include/slu_cdefs.h
+include/slu_dcomplex.h
+include/slu_ddefs.h
+include/slu_scomplex.h
+include/slu_sdefs.h
+include/slu_util.h
+include/slu_zdefs.h
+include/superlu_enum_consts.h
+include/supermatrix.h
lib/libsuperlu.a
-share/doc/superlu/ug.ps
diff --git a/math/superlu/buildlink3.mk b/math/superlu/buildlink3.mk
index 9e16f355c93..71074781b3f 100644
--- a/math/superlu/buildlink3.mk
+++ b/math/superlu/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.8 2019/08/11 13:17:49 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2020/02/26 16:29:43 wiz Exp $
BUILDLINK_TREE+= superlu
.if !defined(SUPERLU_BUILDLINK3_MK)
SUPERLU_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.superlu+= superlu>=2.0nb2
-BUILDLINK_ABI_DEPENDS.superlu?= superlu>=3.0.1nb7
+BUILDLINK_API_DEPENDS.superlu+= superlu>=5.0
+
BUILDLINK_PKGSRCDIR.superlu?= ../../math/superlu
BUILDLINK_DEPMETHOD.superlu?= build
.endif # SUPERLU_BUILDLINK3_MK
diff --git a/math/superlu/distinfo b/math/superlu/distinfo
index aa51ac4e8f8..928dcc6bd5b 100644
--- a/math/superlu/distinfo
+++ b/math/superlu/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.8 2015/11/25 12:51:42 jperkin Exp $
+$NetBSD: distinfo,v 1.9 2020/02/26 16:29:43 wiz Exp $
-SHA1 (superlu-3.0.1/superlu_3.0.tar.gz) = 662803e2c2ec6c604884ba356219dec98eae0976
-RMD160 (superlu-3.0.1/superlu_3.0.tar.gz) = eb570724216ae09fd53931caffce62ce5160e347
-SHA512 (superlu-3.0.1/superlu_3.0.tar.gz) = 40bba86999105172656c6825789e9f4808007687e4fc4316873add68ad2113d54a2e0cb1ac8ef2596d3894bb9f128518c75ae892ac2f5c12410c071fc8191f09
-Size (superlu-3.0.1/superlu_3.0.tar.gz) = 1116795 bytes
-SHA1 (patch-aa) = fd3c02f94989c8eb4a83193faaec3f67607f0634
+SHA1 (superlu-5.2.1.tar.gz) = cbccbb36a2c351d25e0a064be663c0a70c849bee
+RMD160 (superlu-5.2.1.tar.gz) = 01de8ed1f56c6bcdd43e1137c1f145b829d8d848
+SHA512 (superlu-5.2.1.tar.gz) = c5f9ca6055b6861dcc89e31c446c9f57a4e16333f9f24f109e8f375eded878005fa520ab39d2c1dd0ce12f289f9e251aef47da58c975bf5b1f09ca7539194e90
+Size (superlu-5.2.1.tar.gz) = 2468374 bytes