From nobody Wed Nov 2 16:22:59 2022 X-Original-To: dev-commits-ports-all@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 4N2XHR6tqKz4gJMV; Wed, 2 Nov 2022 16:22:59 +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 4N2XHR6Tswz3lpD; Wed, 2 Nov 2022 16:22:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667406179; 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=n5LYydnoUgKhCgamQubrWtfZtv3yCjIdFaw4AytcJPg=; b=my53PGKncNFhmo/oL/P9RJrXuj07vQuN2sPsomSLQgkRApphDOy2IQ1+WOjEVKC/2E8SIv jfK2an1Yp+6qAksywRMV0c6yLUKvPcc17KDpfsKn01D21IT1NjFjv9LNDb+J/JDF2Ys9aH UNj2ptkhjnaHFeiDR8MJkpVPgICpNJpxnw/fH+6QtMWCPsnuVn89D3bVu8Clp0V3rBMSv1 xgJXqFj5HenR+yG3lGjPXqv6NaisIsU/HBAhNpSh+tyIpO4YxIzHistUjhm5v711PYWsSX vmwB4RmaMnZIfGKtmu0+u4mCa1BjbbOx55GsyhFmalkPEsnyAjyKDIGaShykFA== 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 4N2XHR5ZWNz12rQ; Wed, 2 Nov 2022 16:22:59 +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 2A2GMxtI007986; Wed, 2 Nov 2022 16:22:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A2GMxjl007985; Wed, 2 Nov 2022 16:22:59 GMT (envelope-from git) Date: Wed, 2 Nov 2022 16:22:59 GMT Message-Id: <202211021622.2A2GMxjl007985@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: 1040fd38d58f - main - science/dd_package: New port: MQT decision diagram package tailored to quantum computing List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 1040fd38d58f27fd6897a72354ad980736395097 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667406179; 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=n5LYydnoUgKhCgamQubrWtfZtv3yCjIdFaw4AytcJPg=; b=gBDXT61bSyGIF35NI8issV55oESxj40JE8WxcS51nDSlbjxIegZLC3zOOAOWAn+g80T3B/ v8IjO2DfYy5CLh15fNSPTdS35pN49ADL/fjlsk80w7aoVO7hP14/F6b1G/HKvY7w5qt7Dw KQVrClj6h71SV99yqRVqzA37Jofglo9fsXIO2EvAmyz8W1tTh3KvwgW2D25SiAvvGPofRI 8baK3+gZu9YW7b/hgQSCgpqw26FgVjpxIiuYbHcqPDL5JiE2rKvAzJPWie5fojxjLGLLlF VXqLGuzkAmlMxCzvYE6INRQIcQ8Vt46CM0u6y+qfb10xE1vOiXHWvtW7JqP/AQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667406179; a=rsa-sha256; cv=none; b=YVCLEw+7TT/V9n4jx+5ryIZr2Lx1N4F45qX0/FCYWTj0woVfs+GLfVEOY+HKhuigM5L7Yv 8nn10YGhfnC7SbY3ppVtQyQnw934qh9SI9wGCU7RgHSCxWVgg3lGjyRE1SB/ar2zCmCHYd VULM4bCjfwXTS4FAlyyBQrMSyABUyLdG7dvnOYQ+2shM3a86nMcYwgJX3L2HP8R2mTipTl QNSBEZMguZ9vM55IK5X5xNCgUYSVxZ6NbSjqHSe3/a11d0sjQFgWJtvR/tcUN2MRfpQGj7 lK/6AeEC/JH7Vh9Ou4bd7KqHcMLJOcRWYudfxNS0SDYp/GFxyuBiJ9FI4enYmg== 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=1040fd38d58f27fd6897a72354ad980736395097 commit 1040fd38d58f27fd6897a72354ad980736395097 Author: Yuri Victorovich AuthorDate: 2022-11-02 00:02:54 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-02 16:22:56 +0000 science/dd_package: New port: MQT decision diagram package tailored to quantum computing --- science/Makefile | 1 + science/dd_package/Makefile | 29 ++++++++++++++++++++++ science/dd_package/distinfo | 7 ++++++ science/dd_package/files/patch-CMakeLists.txt | 11 ++++++++ .../dd_package/files/patch-include_dd_Package.hpp | 10 ++++++++ science/dd_package/pkg-descr | 4 +++ science/dd_package/pkg-plist | 17 +++++++++++++ 7 files changed, 79 insertions(+) diff --git a/science/Makefile b/science/Makefile index f27b0eee9581..832f4b446b50 100644 --- a/science/Makefile +++ b/science/Makefile @@ -66,6 +66,7 @@ SUBDIR += dakota SUBDIR += dalton SUBDIR += dcl + SUBDIR += dd_package SUBDIR += devisor SUBDIR += dftbplus SUBDIR += dftd4 diff --git a/science/dd_package/Makefile b/science/dd_package/Makefile new file mode 100644 index 000000000000..4e8a919ddbba --- /dev/null +++ b/science/dd_package/Makefile @@ -0,0 +1,29 @@ +PORTNAME= dd_package +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.0 +CATEGORIES= science # quantum-computing + +MAINTAINER= yuri@FreeBSD.org +COMMENT= MQT decision diagram package tailored to quantum computing +WWW= https://www.cda.cit.tum.de/research/quantum_dd/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing compiler:c++17-lang + +USE_GITHUB= yes +GH_ACCOUNT= cda-tum +GH_TUPLE= google:benchmark:398a8ac:benchmark/extern/benchmark \ + google:googletest:3026483:googletest/extern/googletest + +CMAKE_OFF= BUILD_DD_PACKAGE_TESTS +CMAKE_TESTING_ON= BUILD_DD_PACKAGE_TESTS # one test fails: DDPackageTest.RequestInvalidPackageSize, see https://github.com/cda-tum/dd_package/issues/117 + +NO_BUILD= yes +NO_ARCH= yes + +do-install: # workaround for https://github.com/cda-tum/dd_package/issues/115 + @cd ${WRKSRC}/include && ${COPYTREE_SHARE} dd ${STAGEDIR}${PREFIX}/include + +.include diff --git a/science/dd_package/distinfo b/science/dd_package/distinfo new file mode 100644 index 000000000000..ecf3a4baff73 --- /dev/null +++ b/science/dd_package/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1667345831 +SHA256 (cda-tum-dd_package-v2.1.0_GH0.tar.gz) = 5b8ad683995e61505e15c13beafa9e5e1946b14b9e6ba9e5f8c1767af4496f14 +SIZE (cda-tum-dd_package-v2.1.0_GH0.tar.gz) = 74748 +SHA256 (google-benchmark-398a8ac_GH0.tar.gz) = 2991bb75b3454e008152cd14c448608e8133fe0f832eb4ce1b8e06f0f72d24ad +SIZE (google-benchmark-398a8ac_GH0.tar.gz) = 196562 +SHA256 (google-googletest-3026483_GH0.tar.gz) = 1790cf41d6b9b023e1751888155b4fe1a20cd5b9842c3aa67633aac4b2610ba2 +SIZE (google-googletest-3026483_GH0.tar.gz) = 859168 diff --git a/science/dd_package/files/patch-CMakeLists.txt b/science/dd_package/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..256cced4a13b --- /dev/null +++ b/science/dd_package/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-11-01 23:29:46 UTC ++++ CMakeLists.txt +@@ -87,7 +87,7 @@ macro(enable_lto TARGET_NAME) + endmacro() + + # add test code +-if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME OR BUILD_DD_PACKAGE_TESTS) ++if (BUILD_DD_PACKAGE_TESTS) + if (NOT EXISTS "${PROJECT_SOURCE_DIR}/extern/googletest/CMakeLists.txt") + message(FATAL_ERROR "GoogleTest submodule not cloned properly. Please run `git submodule update --init --recursive` from the main project directory") + endif () diff --git a/science/dd_package/files/patch-include_dd_Package.hpp b/science/dd_package/files/patch-include_dd_Package.hpp new file mode 100644 index 000000000000..a8d024a00527 --- /dev/null +++ b/science/dd_package/files/patch-include_dd_Package.hpp @@ -0,0 +1,10 @@ +--- include/dd/Package.hpp.orig 2022-11-01 23:39:28 UTC ++++ include/dd/Package.hpp +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/science/dd_package/pkg-descr b/science/dd_package/pkg-descr new file mode 100644 index 000000000000..33affdca0e3a --- /dev/null +++ b/science/dd_package/pkg-descr @@ -0,0 +1,4 @@ +A decision diagram package tailored to quantum computing developed by the Chair +for Design Automation at the Technical University of Munich. The DD Package is +part of the Munich Quantum Toolkit (MQT; formerly known as JKQ and developed by +the Institute for Integrated Circuits at the Johannes Kepler University Linz). diff --git a/science/dd_package/pkg-plist b/science/dd_package/pkg-plist new file mode 100644 index 000000000000..5f678a8d30bf --- /dev/null +++ b/science/dd_package/pkg-plist @@ -0,0 +1,17 @@ +include/dd/Complex.hpp +include/dd/ComplexCache.hpp +include/dd/ComplexNumbers.hpp +include/dd/ComplexTable.hpp +include/dd/ComplexValue.hpp +include/dd/ComputeTable.hpp +include/dd/Control.hpp +include/dd/Definitions.hpp +include/dd/Edge.hpp +include/dd/Export.hpp +include/dd/GateMatrixDefinitions.hpp +include/dd/Node.hpp +include/dd/NoiseOperationTable.hpp +include/dd/Package.hpp +include/dd/ToffoliTable.hpp +include/dd/UnaryComputeTable.hpp +include/dd/UniqueTable.hpp