1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

misc/quantum++: update 5.0 → 5.1

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-03-04 07:01:59 -07:00
parent 61c1f04a10
commit 6b8f1d0f61
4 changed files with 28 additions and 8 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= quantum++
DISTVERSIONPREFIX= v
DISTVERSION= 5.0
DISTVERSION= 5.1
CATEGORIES= misc devel
MAINTAINER= yuri@FreeBSD.org
@ -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

View File

@ -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

View File

@ -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})

View File

@ -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
@ -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