Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
suitesparse-umfpack: new port for the module UMFPACK of SuiteSparse
- Loading branch information
1 parent
d80348e
commit aa89cc7
Showing
4 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Created by: Thierry Thomas (<thierry@pompo.net>) | ||
|
||
PORTNAME= UMFPACK | ||
PORTVERSION= 5.7.9 | ||
CATEGORIES= math | ||
|
||
COMMENT= Sparse multifrontal LU factorization | ||
|
||
LICENSE= GPLv2+ | ||
|
||
LIB_DEPENDS= libmetis.so:math/metis \ | ||
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 | ||
BLAS_NEEDED= yes | ||
OMP_NEEDED= yes | ||
|
||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} | ||
USE_LDCONFIG= yes | ||
|
||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" | ||
.include <bsd.port.post.mk> |
16 changes: 16 additions & 0 deletions
16
math/suitesparse-umfpack/files/patch-UMFPACK_Demo_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- UMFPACK/Demo/Makefile.orig 2021-05-17 01:04:52 UTC | ||
+++ UMFPACK/Demo/Makefile | ||
@@ -31,13 +31,7 @@ LIBS = $(LDLIBS) -L../../lib -lumfpack -lamd -lsuitesp | ||
$(LIB_WITH_CHOLMOD) $(LAPACK) $(BLAS) | ||
|
||
libs: metis | ||
- ( cd ../../SuiteSparse_config ; $(MAKE) ) | ||
- ( cd ../../AMD ; $(MAKE) library ) | ||
( cd ../Lib ; $(MAKE) ) | ||
- - ( cd ../../CHOLMOD && $(MAKE) library ) | ||
- - ( cd ../../COLAMD && $(MAKE) library ) | ||
- - ( cd ../../CCOLAMD ; $(MAKE) library ) | ||
- - ( cd ../../CAMD ; $(MAKE) library ) | ||
|
||
metis: ../../include/metis.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This port installs the module UMFPACK of SuiteSparse. | ||
|
||
UMFPACK is a set of routines solving sparse linear systems via LU factorization. | ||
|
||
WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
include/suitesparse/umfpack.h | ||
include/suitesparse/umfpack_col_to_triplet.h | ||
include/suitesparse/umfpack_defaults.h | ||
include/suitesparse/umfpack_free_numeric.h | ||
include/suitesparse/umfpack_free_symbolic.h | ||
include/suitesparse/umfpack_get_determinant.h | ||
include/suitesparse/umfpack_get_lunz.h | ||
include/suitesparse/umfpack_get_numeric.h | ||
include/suitesparse/umfpack_get_symbolic.h | ||
include/suitesparse/umfpack_global.h | ||
include/suitesparse/umfpack_load_numeric.h | ||
include/suitesparse/umfpack_load_symbolic.h | ||
include/suitesparse/umfpack_numeric.h | ||
include/suitesparse/umfpack_qsymbolic.h | ||
include/suitesparse/umfpack_report_control.h | ||
include/suitesparse/umfpack_report_info.h | ||
include/suitesparse/umfpack_report_matrix.h | ||
include/suitesparse/umfpack_report_numeric.h | ||
include/suitesparse/umfpack_report_perm.h | ||
include/suitesparse/umfpack_report_status.h | ||
include/suitesparse/umfpack_report_symbolic.h | ||
include/suitesparse/umfpack_report_triplet.h | ||
include/suitesparse/umfpack_report_vector.h | ||
include/suitesparse/umfpack_save_numeric.h | ||
include/suitesparse/umfpack_save_symbolic.h | ||
include/suitesparse/umfpack_scale.h | ||
include/suitesparse/umfpack_solve.h | ||
include/suitesparse/umfpack_symbolic.h | ||
include/suitesparse/umfpack_tictoc.h | ||
include/suitesparse/umfpack_timer.h | ||
include/suitesparse/umfpack_transpose.h | ||
include/suitesparse/umfpack_triplet_to_col.h | ||
include/suitesparse/umfpack_wsolve.h | ||
lib/libumfpack.so | ||
lib/libumfpack.so.5 | ||
lib/libumfpack.so.5.7.9 | ||
%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_QuickStart.pdf | ||
%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_README.txt | ||
%%PORTDOCS%%%%DOCSDIR%%/UMFPACK_UserGuide.pdf |