From nobody Sat Aug 27 04:52:43 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 4MF47v55qsz4ZTrQ; Sat, 27 Aug 2022 04:52:43 +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 4MF47v4XFYz3RxL; Sat, 27 Aug 2022 04:52:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661575963; 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=DAaGYYs8c9Hph6T70DNnFUBy9M42uBF1SW4elqa8uQA=; b=u0G5bkeOvDiAcriPiZfa+fwLuyHjfisZCTnWzAGXnJxzsKPsAn8uEM0J7I+Df9DHhSNK7r KOJSdB9bFuJ4rcBEwR6Pkm3nL2cqyYfmWp0ShhX7JqYOmi4qYYDKP+dJndH2r7VMSwtyi9 isp21lBYLux39SAhtXpBwHyer4wzZdgD0f8dhZVuxXcbGDtkdY0oQ6X1HO4K0xyKn1P7NA xSQho9EWNUsSg/Nkbakz1kppa7ioJDB3XY2vPeeOhLI07ASYhiyTaOP+AyNBHwsOFDYbQf ygi9UIFaA/41wbYRHsFAFCHN2wRJRB2axpLMMfrO3K7o4tgPYJLjYjvywBTgAw== 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 4MF47v3Yv1zf45; Sat, 27 Aug 2022 04:52:43 +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 27R4qhCw026357; Sat, 27 Aug 2022 04:52:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27R4qhgO026356; Sat, 27 Aug 2022 04:52:43 GMT (envelope-from git) Date: Sat, 27 Aug 2022 04:52:43 GMT Message-Id: <202208270452.27R4qhgO026356@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: 6ed61c3042c0 - main - science/dimod: New port: DWave: Shared API for QUBO/Ising samplers 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: 6ed61c3042c007c7b4500a27ad156bd8047cb4d3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661575963; 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=DAaGYYs8c9Hph6T70DNnFUBy9M42uBF1SW4elqa8uQA=; b=sAaKYnjMtaBcaxTwuJGo3s2FZAChERvhBxszWBpdCKtPdpyUoGCAJ7az4vDwogzZrvRYKR zeOmgcKaB2p4T37moSl+art4WRqX4mEXty2B2E0i0QdyguOrd5hrb7qhDvDJiVerEs6gQC Zu8DONg/4GXqeaSxLjg/IFRz1v14YfAZA1icTHcpRSJGmZgGm4uHLSCi/QmX14xB512qZx rH5w35sHYbaxDvTjxhauGnJxwIYb8/IuMavB7l4AKfD/Ndxwe5kHSmTxB9/xYkbTS7gZd4 H6nC56KiKDEPVrMK4sewBvmCugbHJWhseEcp/voREM8fJ/rl1kjduGcPTm6z5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661575963; a=rsa-sha256; cv=none; b=J8os2tpErwSTO+gyAI/x2dyEp32zV6G4vbcHvtqpJmFjJDeCWt4wdS35IsbY3h69zIHshK RDRSw1tMGVWQ0skLIdFvkoDHGi7Ab7ThlyOjhVhk8UP5sCPC3tDmtlVlnzsIKYZmFVlUeP /4ek/d17SqxaVwSiiALBGVUdcsRoJdwA/NMUiq2UCPsHyRYjw12RuNhONnCVapU0lgwz5l awaBI0HmOT9WBVQMBFzF5xP49eBG0ntrbp54xf9AGQ2Fdj7/OcbHAID4Dx5EHHCfwB7zFz n8iLSOCFtGuaAClvdcu9jiK4W5zJaAALPyM+flQpEDtEFhZ0hU0CXtGXBIpaKg== 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=6ed61c3042c007c7b4500a27ad156bd8047cb4d3 commit 6ed61c3042c007c7b4500a27ad156bd8047cb4d3 Author: Yuri Victorovich AuthorDate: 2022-08-27 04:51:59 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-27 04:52:40 +0000 science/dimod: New port: DWave: Shared API for QUBO/Ising samplers --- science/Makefile | 1 + science/dimod/Makefile | 34 ++++++++++++++++++++++++++++++++++ science/dimod/distinfo | 5 +++++ science/dimod/pkg-descr | 11 +++++++++++ 4 files changed, 51 insertions(+) diff --git a/science/Makefile b/science/Makefile index a67584509e4d..28e271d2ba1b 100644 --- a/science/Makefile +++ b/science/Makefile @@ -69,6 +69,7 @@ SUBDIR += devisor SUBDIR += dftbplus SUBDIR += dftd4 + SUBDIR += dimod SUBDIR += dirac SUBDIR += dkh SUBDIR += dlib-cpp diff --git a/science/dimod/Makefile b/science/dimod/Makefile new file mode 100644 index 000000000000..7769889eac1e --- /dev/null +++ b/science/dimod/Makefile @@ -0,0 +1,34 @@ +PORTNAME= dimod +DISTVERSION= 0.11.5 +CATEGORIES= science python + +MAINTAINER= yuri@FreeBSD.org +COMMENT= DWave: Shared API for QUBO/Ising samplers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.7+ + +USE_GITHUB= yes +GH_ACCOUNT= dwavesystems +GH_TUPLE= catchorg:Catch2:f0dc4d9:catch/testscpp/Catch2 + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/dimod/iterators.h \ + include/dimod/lp.h \ + include/dimod/quadratic_model.h \ + include/dimod/utils.h + +BINARY_ALIAS= g++=${CXX} git=true + +do-install: + @cd ${WRKSRC}/dimod/include && \ + ${COPYTREE_SHARE} dimod ${STAGEDIR}${PREFIX}/include + +do-test: # tests fail to compile, see https://github.com/dwavesystems/dimod/issues/1238 + cd ${WRKSRC}/testscpp && ${SETENV} ${MAKE_ENV} ${MAKE} + +.include diff --git a/science/dimod/distinfo b/science/dimod/distinfo new file mode 100644 index 000000000000..cdecb040478e --- /dev/null +++ b/science/dimod/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1661575588 +SHA256 (dwavesystems-dimod-0.11.5_GH0.tar.gz) = 8602da849ed8ae13d48eb0507d4107b2037d072a53652673ab108bb5772f443b +SIZE (dwavesystems-dimod-0.11.5_GH0.tar.gz) = 520765 +SHA256 (catchorg-Catch2-f0dc4d9_GH0.tar.gz) = 2fed775decd4fa7adbfb193d2e80a2937e3eaaeef2f5b0633ec21449995ff77d +SIZE (catchorg-Catch2-f0dc4d9_GH0.tar.gz) = 651357 diff --git a/science/dimod/pkg-descr b/science/dimod/pkg-descr new file mode 100644 index 000000000000..dcaf688769da --- /dev/null +++ b/science/dimod/pkg-descr @@ -0,0 +1,11 @@ +dimod is a part of the software stack for accessing quantum computing hardware +made by D-Wave company. + +dimod is a shared API for samplers. It provides: +* classes for quadratic models - such as the binary quadratic model (BQM) class + that contains Ising and QUBO models used by samplers such as the D-Wave system + - and higher-order (non-quadratic) models +* reference examples of samplers and composed samplers +* abstract base classes for constructing new samplers and composed samplers + +WWW: https://github.com/dwavesystems/dimod