1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

science/siconos: Add test target (currently broken)

This commit is contained in:
Yuri Victorovich 2021-08-25 13:06:37 -07:00
parent cc5fdc14d9
commit 7890177363

View File

@ -18,12 +18,14 @@ LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse \
libgmp.so:math/gmp \
libldl.so:math/suitesparse-ldl \
libopenblas.so:math/openblas
TEST_DEPENDS= cppunit>0:devel/cppunit
USES= cmake compiler:c++17-lang fortran pkgconfig
USES= cmake:testing compiler:c++17-lang fortran pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER}
CMAKE_TESTING_ON= WITH_TESTING # tests are broken, see https://github.com/siconos/siconos/issues/415
CFLAGS+= -DCLOCKTIME -DCLOCKS_PER_SEC=128 # workaround for 'Undefined symbol "ftime"', see https://github.com/siconos/siconos/issues/411