PORTNAME= blaspp DISTVERSION= 2025.05.28 CATEGORIES= math MASTER_SITES= https://github.com/icl-utk-edu/blaspp/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= C++ API for the Basic Linear Algebra Subroutines WWW= https://github.com/icl-utk-edu/blaspp LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libopenblas.so:math/openblas TEST_DEPENDS= cblas>0:math/cblas \ testsweeper>0:devel/testsweeper USES= cmake:testing fortran localbase # fails to find openblas w/out USES=fortran for some reason, needs investigation CMAKE_ON= use_cmake_find_blas # otherwise blas isn't found by the project's ad-hoc cmake/BLASFinder.cmake file CMAKE_OFF= build_tests CMAKE_TESTING_ON= build_tests # tests fail to run, see https://bitbucket.org/icl/blaspp/issues/19/tests-arent-run-with-tester-target-when CMAKE_TESTING_TARGET= tester post-test: @cd ${TEST_WRKSRC}/test && ${SETENV} ${TEST_ENV} python3 run_tests.py --quick .include