Skip to content

Commit

Permalink
biology/hhsuite: check for omp.h on all architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Apr 27, 2022
1 parent cf150ef commit e7af5e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions biology/hhsuite/Makefile
Expand Up @@ -20,6 +20,12 @@ GH_PROJECT= hh-suite

LDFLAGS+= -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib -lmpi # force linking to openmpi, and not to mpich

.if !exists(/usr/include/omp.h)
PLIST_SUB+= OPENMP="@comment "
.else
PLIST_SUB+= OPENMP=""
.endif

.include <bsd.port.options.mk>

.if ${ARCH} == aarch64
Expand All @@ -30,10 +36,4 @@ CMAKE_ON= HAVE_SSE2
CMAKE_ON= HAVE_POWER8
.endif

.if ${ARCH} == powerpc
PLIST_SUB+= OPENMP="@comment "
.else
PLIST_SUB+= OPENMP=""
.endif

.include <bsd.port.mk>

0 comments on commit e7af5e3

Please sign in to comment.