Skip to content

Commit

Permalink
math/suitesparse-lagraph: new port, graph algorithms based on GraphBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
thierry-FreeBSD committed Dec 31, 2023
1 parent 0c4fedf commit 00ba605
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/Makefile
Expand Up @@ -1175,6 +1175,7 @@
SUBDIR += suitesparse-cxsparse
SUBDIR += suitesparse-graphblas
SUBDIR += suitesparse-klu
SUBDIR += suitesparse-lagraph
SUBDIR += suitesparse-ldl
SUBDIR += suitesparse-mongoose
SUBDIR += suitesparse-rbio
Expand Down
24 changes: 24 additions & 0 deletions math/suitesparse-lagraph/Makefile
@@ -0,0 +1,24 @@
PORTNAME= ${MPORTNAME:tl}
PORTVERSION= 1.1.0
CATEGORIES= math

COMMENT= Graph algorithms based on GraphBLAS
WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html

LICENSE= BSD2CLAUSE

LIB_DEPENDS= libgraphblas.so:math/suitesparse-graphblas

USES= localbase:ldflags

MPORTNAME= LAGraph
USE_LDCONFIG= yes

.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"

post-stage-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/README.md \
${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.md

.include <bsd.port.post.mk>
4 changes: 4 additions & 0 deletions math/suitesparse-lagraph/pkg-descr
@@ -0,0 +1,4 @@
This port installs the module LAGraph of SuiteSparse.

LAGraph is a library plus a test harness for collecting algorithms that use
GraphBLAS.
17 changes: 17 additions & 0 deletions math/suitesparse-lagraph/pkg-plist
@@ -0,0 +1,17 @@
include/suitesparse/LAGraph.h
include/suitesparse/LAGraphX.h
lib/cmake/LAGraph/FindGraphBLAS.cmake
lib/cmake/LAGraph/LAGraphConfig.cmake
lib/cmake/LAGraph/LAGraphConfigVersion.cmake
lib/cmake/LAGraph/LAGraphTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/LAGraph/LAGraphTargets.cmake
lib/liblagraph.a
lib/liblagraph.so
lib/liblagraph.so.1
lib/liblagraph.so.%%VER%%
lib/liblagraphx.a
lib/liblagraphx.so
lib/liblagraphx.so.1
lib/liblagraphx.so.%%VER%%
libdata/pkgconfig/LAGraph.pc
%%PORTDOCS%%%%DOCSDIR%%/LAGraph_README.md

0 comments on commit 00ba605

Please sign in to comment.