Date: Mon, 19 Jul 2021 09:24:14 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: cfb6e19672b3 - main - math/colpack: New port: Graph Coloring Algorithm Package Message-ID: <202107190924.16J9OEso083051@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cfb6e19672b3b0f728514feff51b5f6e77440a9b commit cfb6e19672b3b0f728514feff51b5f6e77440a9b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-07-19 08:57:47 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-07-19 09:24:08 +0000 math/colpack: New port: Graph Coloring Algorithm Package --- math/Makefile | 1 + math/colpack/Makefile | 22 +++++++++++ math/colpack/distinfo | 3 ++ .../colpack/files/patch-build_cmake_CMakeLists.txt | 32 ++++++++++++++++ math/colpack/pkg-descr | 6 +++ math/colpack/pkg-plist | 43 ++++++++++++++++++++++ 6 files changed, 107 insertions(+) diff --git a/math/Makefile b/math/Makefile index c02a3a998a8b..372f33b523a2 100644 --- a/math/Makefile +++ b/math/Makefile @@ -212,6 +212,7 @@ SUBDIR += coinmp SUBDIR += coinmumps SUBDIR += coinutils + SUBDIR += colpack SUBDIR += combblas SUBDIR += conauto SUBDIR += concorde diff --git a/math/colpack/Makefile b/math/colpack/Makefile new file mode 100644 index 000000000000..6be895e4c536 --- /dev/null +++ b/math/colpack/Makefile @@ -0,0 +1,22 @@ +PORTNAME= colpack +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.10-249 +DISTVERSIONSUFFIX= -g9a7293a +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Graph Coloring Algorithm Package + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= CSCsw +GH_PROJECT= ColPack + +CMAKE_SOURCE_PATH= ${WRKSRC}/build/cmake + +.include <bsd.port.mk> diff --git a/math/colpack/distinfo b/math/colpack/distinfo new file mode 100644 index 000000000000..9c905e323a11 --- /dev/null +++ b/math/colpack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1626684341 +SHA256 (CSCsw-ColPack-v1.0.10-249-g9a7293a_GH0.tar.gz) = d801aa4016ed414b00108e72f6bca69af9b3a314e49f145466aba128a57a1029 +SIZE (CSCsw-ColPack-v1.0.10-249-g9a7293a_GH0.tar.gz) = 691420 diff --git a/math/colpack/files/patch-build_cmake_CMakeLists.txt b/math/colpack/files/patch-build_cmake_CMakeLists.txt new file mode 100644 index 000000000000..253bc84c6307 --- /dev/null +++ b/math/colpack/files/patch-build_cmake_CMakeLists.txt @@ -0,0 +1,32 @@ +--- build/cmake/CMakeLists.txt.orig 2019-06-21 15:48:50 UTC ++++ build/cmake/CMakeLists.txt +@@ -142,9 +142,9 @@ endif() + # "EXPORT" helps with creating a ColPackConfig.cmake file to place in the + # installation, to help downstream projects use ColPack. + install(TARGETS ColPack_static EXPORT ColPackTargets +- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/archive +- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/library +- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/runtime) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + + + # Shared library. +@@ -170,12 +170,12 @@ if(ENABLE_OPENMP) + target_link_libraries(ColPack_shared PRIVATE ${OpenMP_CXX_FLAGS}) + endif() + +-install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ColPack_headers) ++install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ColPack) + + install(TARGETS ColPack_shared EXPORT ColPackTargets +- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/shared_archive +- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/shared_library +- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/shared_runtime) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + + + diff --git a/math/colpack/pkg-descr b/math/colpack/pkg-descr new file mode 100644 index 000000000000..2e5d84be97b4 --- /dev/null +++ b/math/colpack/pkg-descr @@ -0,0 +1,6 @@ +ColPack is a package comprising of implementations of algorithms for the +specialized vertex coloring problems discussed in the previous section as well +as algorithms for a variety of related supporting tasks in derivative +computation. + +WWW: https://github.com/CSCsw/ColPack diff --git a/math/colpack/pkg-plist b/math/colpack/pkg-plist new file mode 100644 index 000000000000..ff6730d9d9db --- /dev/null +++ b/math/colpack/pkg-plist @@ -0,0 +1,43 @@ +include/ColPack/BipartiteGraphBicoloring.h +include/ColPack/BipartiteGraphBicoloringInterface.h +include/ColPack/BipartiteGraphCore.h +include/ColPack/BipartiteGraphInputOutput.h +include/ColPack/BipartiteGraphOrdering.h +include/ColPack/BipartiteGraphPartialColoring.h +include/ColPack/BipartiteGraphPartialColoringInterface.h +include/ColPack/BipartiteGraphPartialOrdering.h +include/ColPack/BipartiteGraphVertexCover.h +include/ColPack/ColPackHeaders.h +include/ColPack/CoutLock.h +include/ColPack/Definitions.h +include/ColPack/DisjointSets.h +include/ColPack/File.h +include/ColPack/GraphColoring.h +include/ColPack/GraphColoringInterface.h +include/ColPack/GraphCore.h +include/ColPack/GraphInputOutput.h +include/ColPack/GraphOrdering.h +include/ColPack/HessianRecovery.h +include/ColPack/JacobianRecovery1D.h +include/ColPack/JacobianRecovery2D.h +include/ColPack/MatrixDeallocation.h +include/ColPack/Pause.h +include/ColPack/RecoveryCore.h +include/ColPack/SMPGC.h +include/ColPack/SMPGCColoring.h +include/ColPack/SMPGCGraph.h +include/ColPack/SMPGCOrdering.h +include/ColPack/StringTokenizer.h +include/ColPack/Timer.h +include/ColPack/command_line_parameter_processor.h +include/ColPack/current_time.h +include/ColPack/extra.h +include/ColPack/mmio.h +include/ColPack/stat.h +lib/ColPack_libs/ColPackConfig.cmake +lib/ColPack_libs/ColPackConfigVersion.cmake +lib/ColPack_libs/ColPackTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/ColPack_libs/ColPackTargets.cmake +lib/libColPack.a +lib/libColPack.so +lib/libColPack.so.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107190924.16J9OEso083051>