git: 2867c7dfec7e - main - devel/kokkos: enable on 32-bits, tested on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 16:58:27 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=2867c7dfec7e62e02e5724e0ea12dff7e586c44d commit 2867c7dfec7e62e02e5724e0ea12dff7e586c44d Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-28 20:14:43 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-29 16:57:14 +0000 devel/kokkos: enable on 32-bits, tested on powerpc --- devel/kokkos/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/devel/kokkos/Makefile b/devel/kokkos/Makefile index c2ce5dd57bdd..50a17ffdd373 100644 --- a/devel/kokkos/Makefile +++ b/devel/kokkos/Makefile @@ -10,8 +10,6 @@ WWW= https://kokkos.org/ \ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # Kokkos assumes a 64-bit build; i.e., 8-byte pointers, but found 4-byte pointers instead - RUN_DEPENDS= bash:shells/bash USES= cmake:testing compiler:c++17-lang shebangfix @@ -27,7 +25,10 @@ LDFLAGS+= -lexecinfo TEST_ENV= OMP_PROC_BIND=false OPTIONS_DEFINE= OPENMP SERIAL -OPTIONS_DEFAULT= OPENMP SERIAL # both choices are assumed by science/nlcglib +OPTIONS_DEFAULT= SERIAL # both choices are assumed by science/nlcglib +.if exists(/usr/include/omp.h) +OPTIONS_DEFAULT+= OPENMP +.endif OPENMP_CMAKE_BOOL= Kokkos_ENABLE_OPENMP