summaryrefslogtreecommitdiff
path: root/math/superlu
diff options
context:
space:
mode:
Diffstat (limited to 'math/superlu')
-rw-r--r--math/superlu/Makefile36
-rw-r--r--math/superlu/distinfo6
-rw-r--r--math/superlu/pkg-plist5
3 files changed, 24 insertions, 23 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index e6a9fc273496..43e41239c43f 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -1,10 +1,9 @@
PORTNAME= superlu
DISTVERSIONPREFIX= v
-DISTVERSION= 5.3.0
-PORTREVISION= 4
+DISTVERSION= 7.0.1
CATEGORIES= math
-MAINTAINER= robert.ayrapetyan@gmail.com
+MAINTAINER= me@svmhdvn.name
COMMENT= Library of routines for performing sparse factorization
WWW= https://portal.nersc.gov/project/sparse/superlu/
@@ -12,40 +11,40 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/License.txt
USES= cmake fortran pkgconfig
-USE_LDCONFIG= yes
-
USE_GITHUB= yes
GH_ACCOUNT= xiaoyeli
+USE_LDCONFIG= yes
-CMAKE_ON= USE_XSDK_DEFAULTS
+CMAKE_ON= BUILD_SHARED_LIBS USE_XSDK_DEFAULTS
CMAKE_OFF= enable_tests
+PORTDOCS= *
+PORTEXAMPLES= *
+
OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFAULT= REFERENCE
OPTIONS_SINGLE= BLAS
OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS REFERENCE
-OPTIONS_DEFAULT= REFERENCE
+
+REFERENCE_DESC= Reference BLAS implementation
ATLAS_USES= blaslapack:atlas
ATLAS_CMAKE_ON= -DBLA_VENDOR:STRING="ATLAS"
OPENBLAS_USES= blaslapack:openblas
OPENBLAS_CMAKE_ON= -DBLA_VENDOR:STRING="OpenBLAS"
-REFERENCE_DESC= Reference blas implementation
REFERENCE_USES= blaslapack
REFERENCE_CMAKE_ON= -DBLA_VENDOR:STRING="Generic"
-PORTDOCS= *
-PORTEXAMPLES= *
-
post-patch:
- @${REINPLACE_CMD} -e \
- '/CMAKE_C_FLAGS_RELEASE/s|^|#|' ${WRKSRC}/CMakeLists.txt
- @${REINPLACE_CMD} -e \
- '/FFLAGS/s|FATAL_ERROR|WARNING|' ${WRKSRC}/cmake/XSDKDefaults.cmake
+ @${REINPLACE_CMD} -e '/CMAKE_C_FLAGS_RELEASE/s|^|#|' \
+ ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} -e '/FFLAGS/s|FATAL_ERROR|WARNING|' \
+ ${WRKSRC}/cmake/XSDKDefaults.cmake
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC}/DOC && ${COPYTREE_SHARE} "html ug.pdf" \
- ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/DOC && \
+ ${COPYTREE_SHARE} "html ug.pdf" ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@@ -55,7 +54,8 @@ post-install-EXAMPLES-on:
do-test:
@cd ${BUILD_WRKSRC} && \
- ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Denable_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \
+ -Denable_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
diff --git a/math/superlu/distinfo b/math/superlu/distinfo
index 5a32b9fb1bcb..f5bfb40dc711 100644
--- a/math/superlu/distinfo
+++ b/math/superlu/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664140814
-SHA256 (xiaoyeli-superlu-v5.3.0_GH0.tar.gz) = 3e464afa77335de200aeb739074a11e96d9bef6d0b519950cfa6684c4be1f350
-SIZE (xiaoyeli-superlu-v5.3.0_GH0.tar.gz) = 2483070
+TIMESTAMP = 1749227670
+SHA256 (xiaoyeli-superlu-v7.0.1_GH0.tar.gz) = 86dcca1e086f8b8079990d07f00eb707fc9ef412cf3b2ce808b37956f0de2cb8
+SIZE (xiaoyeli-superlu-v7.0.1_GH0.tar.gz) = 2515612
diff --git a/math/superlu/pkg-plist b/math/superlu/pkg-plist
index 8232a13894fe..759ed1903d8f 100644
--- a/math/superlu/pkg-plist
+++ b/math/superlu/pkg-plist
@@ -6,6 +6,7 @@ include/superlu/slu_scomplex.h
include/superlu/slu_sdefs.h
include/superlu/slu_util.h
include/superlu/slu_zdefs.h
+include/superlu/superlu_config.h
include/superlu/superlu_enum_consts.h
include/superlu/supermatrix.h
lib/cmake/superlu/superluConfig.cmake
@@ -13,6 +14,6 @@ lib/cmake/superlu/superluConfigVersion.cmake
lib/cmake/superlu/superluTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/superlu/superluTargets.cmake
lib/libsuperlu.so
-lib/libsuperlu.so.5
-lib/libsuperlu.so.5.3.0
+lib/libsuperlu.so.7
+lib/libsuperlu.so.7.0.1
libdata/pkgconfig/superlu.pc