From nobody Mon Aug 15 21:12:22 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M66Rq2Mn6z4YxTW; Mon, 15 Aug 2022 21:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M66Rq1gh0z3cvT; Mon, 15 Aug 2022 21:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660597943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VGny5QjXh6ojWIj3Nqd32/LU8KogPqbDiPRcnlxqvFg=; b=Ji+f3gjrZoaBLto31KmSxP32eFqrd3uXT2ltviaIuxdFfkL/5l41Ch4CZ4c70vIHawUNjX PgavumrOOM00ZO2eSgbUS0ja7njE30Y4R+pN+RIHR1lMIh1eHPR40eWNaN98yAmWaxwraN SZlyr+Oq/lX7GBzh3FiD0X+b3vAl68vGjVPyEypX8VRyEDB+VzihedVcd2z10Ah39UmmZ7 Fdz3xNPrMpEtRSG8M/8Zx/PVhPO+xxpnpRA4Uc3Xu9KIw2isMtEuAcpiC6QOZI1YqW9OG4 r1NQf6u4MAv3zb8dN9UEod2bHpAwqGGx/g2N5FiSiYKJH2g/HVNWGvvqfRnhSA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M66Rq0HblzkcX; Mon, 15 Aug 2022 21:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27FLCMwj039476; Mon, 15 Aug 2022 21:12:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27FLCM73039475; Mon, 15 Aug 2022 21:12:22 GMT (envelope-from git) Date: Mon, 15 Aug 2022 21:12:22 GMT Message-Id: <202208152112.27FLCM73039475@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b0e5744aa34e - main - math/cimod: New port: C++ header-only library for a binary quadratic models List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b0e5744aa34e43d6ef016e77b5acf07c4211a9b3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660597943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VGny5QjXh6ojWIj3Nqd32/LU8KogPqbDiPRcnlxqvFg=; b=UlpIy8YEpUjKPeYjUtWB/0iR1Udte5uZf8/lrtW+DyW8+JsCyQy5IwaZoe9wzRuUU47W/i WXHDRknBZpBwi6KfZDP4yieAF4U3OA2iS3AoLptPD7SCwlDgZxFrCVL7R7NADRQFLTZpxj 0aD5HiE1JTAgPk4NOYaU/ZUd6OPZgERzRUQ0SBh0p5WqcKlHPiS7KvuPGtnaseEI7xdugZ aadvSKcjipgkK4iu2Dr2TEIovqeJljbBv8LwUn4rJc+0Kv1/NC1s4+slrO6AdXGeA0yMXY RDTEQY2eLLk0Mr4wBfdJycY1T1pIGPsXLTWuOsDUwfBxXGrX4nomUrFt2WlsGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660597943; a=rsa-sha256; cv=none; b=VG3N6A05aVSXLFQUnkhPV+oWE7NPy824WR3DrW+KHTTqijvU+tip3RDdSmILxVTKwZZDjv 1QI291fBYGa70VHkYhbiEAi24/U/+tpe03vPC3d9rEGFek0lVYilmIczn2iX5rrfT7M1aC FUutwEJIZ/5fyJku15ZS4PMWj1LZnyMhzojWwy7LPr/d0WJ8uoyYf1GC8cTUtNtXwiTZ/l DaXVUC/pPPUbDkG6BIIhcSdL635NyEwEoxGOj68FHfYlGmBkr9Oq/dyYr1qi6yc9ejkGBQ nhjmy99DhfhijKpPQgXeYdxsM91bsLKfrg13z+jXBBd9PR9hiRmHByWm7Ar0Xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b0e5744aa34e43d6ef016e77b5acf07c4211a9b3 commit b0e5744aa34e43d6ef016e77b5acf07c4211a9b3 Author: Yuri Victorovich AuthorDate: 2022-08-15 20:50:08 +0000 Commit: Yuri Victorovich 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 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