git: 21ddf7a6bedc - main - suitesparse-graphblas: new port for the module GraphBLAS of SuiteSparse
Thierry Thomas
thierry at FreeBSD.org
Tue May 25 10:13:45 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=21ddf7a6bedcb93b9a6a36de9e362b24b549e47e
commit 21ddf7a6bedcb93b9a6a36de9e362b24b549e47e
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-05-24 16:42:19 +0000
Commit: Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-05-25 10:00:06 +0000
suitesparse-graphblas: new port for the module GraphBLAS of SuiteSparse
---
math/suitesparse-graphblas/Makefile | 32 ++++++++++++++++++++++++++++++++
math/suitesparse-graphblas/pkg-descr | 11 +++++++++++
math/suitesparse-graphblas/pkg-plist | 5 +++++
3 files changed, 48 insertions(+)
diff --git a/math/suitesparse-graphblas/Makefile b/math/suitesparse-graphblas/Makefile
new file mode 100644
index 000000000000..027344cb495b
--- /dev/null
+++ b/math/suitesparse-graphblas/Makefile
@@ -0,0 +1,32 @@
+# Created by: Thierry Thomas (<thierry at pompo.net>)
+
+PORTNAME= GraphBLAS
+PORTVERSION= 5.0.5
+CATEGORIES= math
+
+COMMENT= Graph algorithms in the language of linear algebra
+
+LICENSE= APACHE20
+
+USES= cmake:insource localbase:ldflags
+OMP_NEEDED= yes
+BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
+USE_LDCONFIG= yes
+
+PORTDOCS= CSC20_OpenMP_GraphBLAS.pdf GraphBLAS_API_C_v13.pdf \
+ GraphBLAS_UserGuide.pdf HPEC19.pdf lagraph-grapl19.pdf \
+ toms_graphblas.pdf
+
+.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
+
+pre-configure-OPENMP-off:
+ ${REINPLACE_CMD} -e '/find_package.*OpenMP/d' \
+ ${WRKSRC}/GraphBLAS/CMakeLists.txt
+
+post-stage-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/math/suitesparse-graphblas/pkg-descr b/math/suitesparse-graphblas/pkg-descr
new file mode 100644
index 000000000000..aeaa64bd8c9e
--- /dev/null
+++ b/math/suitesparse-graphblas/pkg-descr
@@ -0,0 +1,11 @@
+This port installs the module GraphBLAS of SuiteSparse.
+
+SuiteSparse:GraphBLAS is a complete implementation of the GraphBLAS
+standard, which defines a set of sparse matrix operations on an extended
+algebra of semirings using an almost unlimited variety of operators and
+types. When applied to sparse adjacency matrices, these algebraic
+operations are equivalent to computations on graphs. GraphBLAS provides
+a powerful and expressive framework for creating graph algorithms based
+on the elegant mathematics of sparse matrix operations on a semiring.
+
+WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html
diff --git a/math/suitesparse-graphblas/pkg-plist b/math/suitesparse-graphblas/pkg-plist
new file mode 100644
index 000000000000..b8328461e62c
--- /dev/null
+++ b/math/suitesparse-graphblas/pkg-plist
@@ -0,0 +1,5 @@
+include/suitesparse/GraphBLAS.h
+lib/libgraphblas.a
+lib/libgraphblas.so
+lib/libgraphblas.so.5
+lib/libgraphblas.so.5.0.4
More information about the dev-commits-ports-all
mailing list