mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
suitesparse-spqr: new port for the module SPQR of SuiteSparse
This commit is contained in:
parent
ef9eb0a7f8
commit
d80348e84e
4 changed files with 62 additions and 0 deletions
32
math/suitesparse-spqr/Makefile
Normal file
32
math/suitesparse-spqr/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
|
PORTNAME= SPQR
|
||||||
|
PORTVERSION= 2.0.9
|
||||||
|
CATEGORIES= math
|
||||||
|
|
||||||
|
COMMENT= Sparse QR factorization
|
||||||
|
|
||||||
|
LICENSE= GPLv2+
|
||||||
|
|
||||||
|
LIB_DEPENDS= libamd.so:math/suitesparse-amd \
|
||||||
|
libcamd.so:math/suitesparse-camd \
|
||||||
|
libcolamd.so:math/suitesparse-colamd \
|
||||||
|
libccolamd.so:math/suitesparse-ccolamd \
|
||||||
|
libcholmod.so:math/suitesparse-cholmod
|
||||||
|
|
||||||
|
USES= localbase:ldflags
|
||||||
|
|
||||||
|
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
BLAS_NEEDED= yes
|
||||||
|
OMP_NEEDED= 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"
|
||||||
|
.include <bsd.port.post.mk>
|
15
math/suitesparse-spqr/files/patch-SPQR_Demo_Makefile
Normal file
15
math/suitesparse-spqr/files/patch-SPQR_Demo_Makefile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- 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 )
|
6
math/suitesparse-spqr/pkg-descr
Normal file
6
math/suitesparse-spqr/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
This port installs the module SPQR of SuiteSparse.
|
||||||
|
|
||||||
|
SuiteSparseQR is a multithreaded, multifrontal, rank-revealing sparse QR
|
||||||
|
factorization method.
|
||||||
|
|
||||||
|
WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
|
9
math/suitesparse-spqr/pkg-plist
Normal file
9
math/suitesparse-spqr/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
include/suitesparse/SuiteSparseQR.hpp
|
||||||
|
include/suitesparse/SuiteSparseQR_C.h
|
||||||
|
include/suitesparse/SuiteSparseQR_definitions.h
|
||||||
|
include/suitesparse/spqr.hpp
|
||||||
|
lib/libspqr.so
|
||||||
|
lib/libspqr.so.2
|
||||||
|
lib/libspqr.so.2.0.9
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/SPQR_README.txt
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/spqr_user_guide.pdf
|
Loading…
Add table
Reference in a new issue