Skip to content

Commit

Permalink
misc/quantum++: update 5.0 → 5.1
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Mar 4, 2024
1 parent 61c1f04 commit 6b8f1d0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
7 changes: 4 additions & 3 deletions misc/quantum++/Makefile
@@ -1,6 +1,6 @@
PORTNAME= quantum++
DISTVERSIONPREFIX= v
DISTVERSION= 5.0
DISTVERSION= 5.1
CATEGORIES= misc devel

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -10,13 +10,14 @@ WWW= https://github.com/softwareQinc/qpp
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= cmake:testing compiler:c++17-lang eigen:3,build,run
TEST_DEPENDS= googletest>0:devel/googletest

USES= cmake:testing compiler:c++17-lang eigen:3,build,run localbase:ldflags

USE_GITHUB= yes
GH_ACCOUNT= softwareQinc
GH_PROJECT= qpp

CMAKE_TESTING_ON= WITH_UNIT_TESTS
CMAKE_TESTING_TARGET= unit_tests

NO_BUILD= yes
Expand Down
6 changes: 3 additions & 3 deletions misc/quantum++/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1704959609
SHA256 (softwareQinc-qpp-v5.0_GH0.tar.gz) = cbff36004a94d16296493460aa977f1274cc23597f4ba72386ece15ae95a8e8d
SIZE (softwareQinc-qpp-v5.0_GH0.tar.gz) = 5719164
TIMESTAMP = 1709581435
SHA256 (softwareQinc-qpp-v5.1_GH0.tar.gz) = ba7bb00c654e244af6f3b6d115a417688b21a5fa63e20203a7cd3ad9349cfecf
SIZE (softwareQinc-qpp-v5.1_GH0.tar.gz) = 4700535
11 changes: 11 additions & 0 deletions misc/quantum++/files/patch-unit__tests_CMakeLists.txt
@@ -0,0 +1,11 @@
-- workaround for https://github.com/softwareQinc/qpp/issues/171

--- unit_tests/CMakeLists.txt.orig 2024-03-04 21:51:04 UTC
+++ unit_tests/CMakeLists.txt
@@ -40,5 +40,5 @@ endforeach()
target_sources(${TARGET_NAME} PUBLIC ${file})
endforeach()

-target_link_libraries(${TARGET_NAME} PUBLIC ${QPP_LINK_DEPS} gmock libqpp)
+target_link_libraries(${TARGET_NAME} PUBLIC ${QPP_LINK_DEPS} gtest gmock libqpp)
gtest_discover_tests(${TARGET_NAME})
12 changes: 10 additions & 2 deletions misc/quantum++/pkg-plist
Expand Up @@ -19,15 +19,21 @@ include/qpp/qasmtools/tools/ast_printer.hpp
include/qpp/qasmtools/utils/angle.hpp
include/qpp/qasmtools/utils/templates.hpp
include/qpp/qpp/MATLAB/matlab.hpp
include/qpp/qpp/classes/circuits/circuits.hpp
include/qpp/qpp/classes/circuits/engines.hpp
include/qpp/qpp/classes/codes.hpp
include/qpp/qpp/classes/exception.hpp
include/qpp/qpp/classes/gates.hpp
include/qpp/qpp/classes/idisplay.hpp
include/qpp/qpp/classes/ijson.hpp
include/qpp/qpp/classes/init.hpp
include/qpp/qpp/classes/layouts.hpp
include/qpp/qpp/classes/noise.hpp
include/qpp/qpp/classes/qbase_engine.hpp
include/qpp/qpp/classes/qcircuit.hpp
include/qpp/qpp/classes/qcircuit_traits.hpp
include/qpp/qpp/classes/qdummy_engine.hpp
include/qpp/qpp/classes/qengine.hpp
include/qpp/qpp/classes/qengine_traits.hpp
include/qpp/qpp/classes/qnoisy_engine.hpp
include/qpp/qpp/classes/random_devices.hpp
include/qpp/qpp/classes/reversible.hpp
include/qpp/qpp/classes/states.hpp
Expand All @@ -52,5 +58,7 @@ include/qpp/qpp/statistics.hpp
include/qpp/qpp/traits.hpp
include/qpp/qpp/types.hpp
lib/cmake/qpp/qppConfig.cmake
lib/cmake/qpp/qpp_MATLAB.cmake
lib/cmake/qpp/qpp_dependencies.cmake
lib/cmake/qpp/qpp_eigen3.cmake
lib/cmake/qpp/qpp_targets.cmake

0 comments on commit 6b8f1d0

Please sign in to comment.