Skip to content

Commit

Permalink
biology/pooler: use openmp only when omp.h is present
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Apr 27, 2022
1 parent 1115257 commit eaf43a2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions biology/pooler/Makefile
Expand Up @@ -15,15 +15,12 @@ GH_ACCOUNT= ssb22
GH_PROJECT= PrimerPooler

INSTALL_TARGET= install-strip
CFLAGS+= -fopenmp

WRKSRC_SUBDIR= pooler
PLIST_FILES= bin/pooler man/man1/pooler.1.gz share/applications/pooler.desktop

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.if exists(/usr/include/omp.h)
CFLAGS+= -fopenmp
.endif

.include <bsd.port.mk>

0 comments on commit eaf43a2

Please sign in to comment.