diff options
Diffstat (limited to 'math/clad/Makefile')
-rw-r--r-- | math/clad/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/math/clad/Makefile b/math/clad/Makefile index 1124df4daad1..018a2b30221d 100644 --- a/math/clad/Makefile +++ b/math/clad/Makefile @@ -1,7 +1,6 @@ PORTNAME= clad DISTVERSIONPREFIX= v -DISTVERSION= 1.4 -PORTREVISION= 1 +DISTVERSION= 1.8 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -11,6 +10,10 @@ WWW= https://github.com/vgvassilev/clad LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/License.txt +.if !exists(/usr/include/omp.h) +BROKEN= requires OpenMP support that is missing on this architecture +.endif + TEST_DEPENDS= kokkos>0:devel/kokkos USES= cmake:testing llvm:16,build,run localbase @@ -27,6 +30,7 @@ CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS FREEBSD_BUILD_DEMOS CMAKE_TESTING_TARGET= check-clad #CXXFLAGS+= -D_OPENMP +CXXFLAGS+= -fopenmp post-patch: @${REINPLACE_CMD} \ @@ -36,6 +40,6 @@ post-patch: ' \ ${WRKSRC}/test/lit.cfg -# tests fail to compile: https://github.com/vgvassilev/clad/issues/798 +# tests fail to compile: https://github.com/vgvassilev/clad/issues/993, https://github.com/vgvassilev/clad/issues/1181 .include <bsd.port.mk> |