Date: Sat, 27 Aug 2022 00:11:48 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: 2f012323fd9e - main - math/minorminer: New port: Heuristic tool for minor graph embedding (C++ headers-only library) Message-ID: <202208270011.27R0BmkT077814@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=2f012323fd9e00b57f2e3d396b9e5b0f7d3cb8bf commit 2f012323fd9e00b57f2e3d396b9e5b0f7d3cb8bf Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-27 00:02:32 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-27 00:11:44 +0000 math/minorminer: New port: Heuristic tool for minor graph embedding (C++ headers-only library) --- math/Makefile | 1 + math/minorminer/Makefile | 28 ++++++++++++++++++++++++++++ math/minorminer/distinfo | 3 +++ math/minorminer/pkg-descr | 4 ++++ math/minorminer/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 57 insertions(+) diff --git a/math/Makefile b/math/Makefile index 008963df91fc..4cff58d2ba9a 100644 --- a/math/Makefile +++ b/math/Makefile @@ -481,6 +481,7 @@ SUBDIR += minizinc SUBDIR += minizinc-ide SUBDIR += minizinc-solvers + SUBDIR += minorminer SUBDIR += miracl SUBDIR += mlpack SUBDIR += moab diff --git a/math/minorminer/Makefile b/math/minorminer/Makefile new file mode 100644 index 000000000000..cc4c6286af41 --- /dev/null +++ b/math/minorminer/Makefile @@ -0,0 +1,28 @@ +PORTNAME= minorminer +DISTVERSION= 0.2.9 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Heuristic tool for minor graph embedding (C++ headers-only library) + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems + +CMAKE_TESTING_ON= MINORMINER_BUILD_TESTS +CMAKE_TESTING_TARGET= ${ALL_TARGET} + +NO_ARCH= yes + +do-install: # workaround for https://github.com/dwavesystems/minorminer/issues/220 + @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} + @cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME} + +post-test: + @cd ${BUILD_WRKSRC}/tests && ./run_tests + +.include <bsd.port.mk> diff --git a/math/minorminer/distinfo b/math/minorminer/distinfo new file mode 100644 index 000000000000..65658dac5590 --- /dev/null +++ b/math/minorminer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660502687 +SHA256 (dwavesystems-minorminer-0.2.9_GH0.tar.gz) = d74e9c8345094c9dae4c1c6421557e4fdb81b3efce00c0b8b0459e3db09f5083 +SIZE (dwavesystems-minorminer-0.2.9_GH0.tar.gz) = 1262651 diff --git a/math/minorminer/pkg-descr b/math/minorminer/pkg-descr new file mode 100644 index 000000000000..bfa528894b78 --- /dev/null +++ b/math/minorminer/pkg-descr @@ -0,0 +1,4 @@ +minorminer is a heuristic tool for minor embedding: given a minor and target +graph, it tries to find a mapping that embeds the minor into the target. + +WWW: https://github.com/dwavesystems/minorminer diff --git a/math/minorminer/pkg-plist b/math/minorminer/pkg-plist new file mode 100644 index 000000000000..a82214e34d3c --- /dev/null +++ b/math/minorminer/pkg-plist @@ -0,0 +1,21 @@ +include/minorminer/busclique/biclique_cache.hpp +include/minorminer/busclique/bundle_cache.hpp +include/minorminer/busclique/cell_cache.hpp +include/minorminer/busclique/clique_cache.hpp +include/minorminer/busclique/coordinate_types.hpp +include/minorminer/busclique/find_biclique.hpp +include/minorminer/busclique/find_clique.hpp +include/minorminer/busclique/small_cliques.hpp +include/minorminer/busclique/topo_cache.hpp +include/minorminer/busclique/util.hpp +include/minorminer/debug.hpp +include/minorminer/errors.hpp +include/minorminer/fastrng.hpp +include/minorminer/find_embedding/chain.hpp +include/minorminer/find_embedding/embedding.hpp +include/minorminer/find_embedding/embedding_problem.hpp +include/minorminer/find_embedding/find_embedding.hpp +include/minorminer/find_embedding/graph.hpp +include/minorminer/find_embedding/pairing_queue.hpp +include/minorminer/find_embedding/pathfinder.hpp +include/minorminer/find_embedding/util.hpp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208270011.27R0BmkT077814>