| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/tweedledum/ |
Upload File : |
PORTNAME= tweedledum
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.1
CATEGORIES= science python # quantum-computing
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for analysis, compilation, synthesis of quantum circuits
WWW= https://github.com/boschmitt/tweedledum
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= boschmitt
CMAKE_OFF= TWEEDLEDUM_PYBINDS # doesn't affect the build result, see https://github.com/boschmitt/tweedledum/issues/175
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_TESTING_ON= TWEEDLEDUM_TESTS
CMAKE_TESTING_TARGET= ${ALL_TARGET} # hack to disable the target
TEST_WRKSRC= ${BUILD_WRKSRC}/tests
post-test: # run tests, all tests pass with 3313 assertions in 73 test cases, see https://github.com/boschmitt/tweedledum/issues/177
@cd ${TEST_WRKSRC} && ./run_tests
.include <bsd.port.mk>