1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

math/suitesparse-spqr: upgrade to 3.0.1

PR:		267742
This commit is contained in:
Thierry Thomas 2022-11-14 18:19:53 +01:00
parent 7330180f42
commit cd6e29309d
3 changed files with 14 additions and 28 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= ${MPORTNAME:tl}
PORTVERSION= 2.1.0
PORTVERSION= 3.0.1
CATEGORIES= math
COMMENT= Sparse QR factorization
@ -14,18 +14,17 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \
libcholmod.so:math/suitesparse-cholmod
USES= localbase:ldflags
BLAS_NEEDED= yes
OMP_NEEDED= yes
MPORTNAME= SPQR
USE_LDCONFIG= yes
# See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72 and PR 252651
#OPTIONS_DEFINE+= TBB
#OPTIONS_DEFAULT+= TBB
#TBB_DESC= Intel threading building blocks
#TBB_LIB_DEPENDS= libtbb.so:devel/tbb
#TBB_MAKE_ENV= TBB="-ltbb" SPQR_CONFIG="-DHAVE_TBB"
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
post-stage-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt \
${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.txt
${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/spqr_user_guide.pdf \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View File

@ -1,15 +0,0 @@
--- SPQR/Demo/Makefile.orig 2021-05-17 01:04:52 UTC
+++ SPQR/Demo/Makefile
@@ -126,12 +126,6 @@ gpu4: qrdemo_gpu
library: metis
( cd ../Lib ; $(MAKE) )
- ( cd ../../AMD ; $(MAKE) library )
- ( cd ../../SuiteSparse_config ; $(MAKE) library )
- - ( cd ../../CHOLMOD && $(MAKE) library )
- - ( cd ../../COLAMD && $(MAKE) library )
- - ( cd ../../CCOLAMD && $(MAKE) library )
- - ( cd ../../CAMD && $(MAKE) library )
ifneq ($(GPU_CONFIG),)
- ( cd ../../SuiteSparse_GPURuntime && $(MAKE) library )
- ( cd ../../GPUQREngine && $(MAKE) library )

View File

@ -1,9 +1,11 @@
include/suitesparse/SuiteSparseQR.hpp
include/suitesparse/SuiteSparseQR_C.h
include/suitesparse/SuiteSparseQR_definitions.h
include/suitesparse/spqr.hpp
lib/cmake/SuiteSparse/FindSPQR.cmake
lib/cmake/SuiteSparse/FindSPQR_CUDA.cmake
lib/libspqr.a
lib/libspqr.so
lib/libspqr.so.2
lib/libspqr.so.2.1.0
lib/libspqr.so.3
lib/libspqr.so.3.0.1
%%PORTDOCS%%%%DOCSDIR%%/SPQR_README.txt
%%PORTDOCS%%%%DOCSDIR%%/spqr_user_guide.pdf