git: b0e5744aa34e - main - math/cimod: New port: C++ header-only library for a binary quadratic models
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Aug 2022 21:12:22 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b0e5744aa34e43d6ef016e77b5acf07c4211a9b3 commit b0e5744aa34e43d6ef016e77b5acf07c4211a9b3 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-15 20:50:08 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-15 21:12:19 +0000 math/cimod: New port: C++ header-only library for a binary quadratic models --- math/Makefile | 1 + math/cimod/Makefile | 29 +++++++++++++++++++++++++++++ math/cimod/distinfo | 3 +++ math/cimod/pkg-descr | 3 +++ math/cimod/pkg-plist | 8 ++++++++ 5 files changed, 44 insertions(+) diff --git a/math/Makefile b/math/Makefile index e6950328b9f2..b2859d659b91 100644 --- a/math/Makefile +++ b/math/Makefile @@ -218,6 +218,7 @@ SUBDIR += chaco SUBDIR += chryzodus SUBDIR += chuffed + SUBDIR += cimod SUBDIR += clasp SUBDIR += clblas SUBDIR += clblast diff --git a/math/cimod/Makefile b/math/cimod/Makefile new file mode 100644 index 000000000000..aa308c3ae6a9 --- /dev/null +++ b/math/cimod/Makefile @@ -0,0 +1,29 @@ +PORTNAME= cimod +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.36 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ header-only library for a binary quadratic models + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json +RUN_DEPENDS= nlohmann-json>0:devel/nlohmann-json + +USES= cmake:testing compiler:c++17-lang eigen:3,build,run + +USE_GITHUB= yes +GH_ACCOUNT= OpenJij + +CMAKE_ON= CIMOD_INSTALL # doesn't do anything, see https://github.com/OpenJij/cimod/issues/103 +CMAKE_OFF= CIMOD_TEST CIMOD_DOCS +CMAKE_TESTING_ON= CIMOD_TEST + +NO_ARCH= yes + +do-install: # see https://github.com/OpenJij/cimod/issues/103 + cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include + +.include <bsd.port.mk> diff --git a/math/cimod/distinfo b/math/cimod/distinfo new file mode 100644 index 000000000000..601912368980 --- /dev/null +++ b/math/cimod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660518514 +SHA256 (OpenJij-cimod-v1.4.36_GH0.tar.gz) = 1557cf44a14fb6e3379e3e9dff52ea35d6850fb354051fc87e044f00af47a010 +SIZE (OpenJij-cimod-v1.4.36_GH0.tar.gz) = 119305 diff --git a/math/cimod/pkg-descr b/math/cimod/pkg-descr new file mode 100644 index 000000000000..42088d2f14c6 --- /dev/null +++ b/math/cimod/pkg-descr @@ -0,0 +1,3 @@ +cmod is a C++ library for a binary quadratic model. + +WWW: https://github.com/OpenJij/cimod diff --git a/math/cimod/pkg-plist b/math/cimod/pkg-plist new file mode 100644 index 000000000000..15ec8bb434fa --- /dev/null +++ b/math/cimod/pkg-plist @@ -0,0 +1,8 @@ +include/cimod/binary_polynomial_model.hpp +include/cimod/binary_quadratic_model.hpp +include/cimod/binary_quadratic_model_dict.hpp +include/cimod/disable_eigen_warning.hpp +include/cimod/hash.hpp +include/cimod/json.hpp +include/cimod/utilities.hpp +include/cimod/vartypes.hpp