biology/hhsuite: fix packaging on powerpc

pkg-static: Unable to access file /wrkdirs/usr/ports/biology/hhsuite/work/stage/usr/local/bin/hhalign_omp:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/biology/hhsuite/work/stage/usr/local/bin/hhblits_ca3m:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/biology/hhsuite/work/stage/usr/local/bin/hhblits_omp:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/biology/hhsuite/work/stage/usr/local/bin/hhsearch_omp:No such file or directory

powerpc doesn't have LLVM with libomp.
This commit is contained in:
Piotr Kubaj 2021-11-16 12:03:42 +00:00
parent 7c696d31ec
commit f00588c634
2 changed files with 10 additions and 4 deletions

View file

@ -29,4 +29,10 @@ 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>

View file

@ -17,17 +17,17 @@ bin/ffindex_reduce
bin/ffindex_unpack
bin/hhalign
bin/hhalign_mpi
bin/hhalign_omp
%%OPENMP%%bin/hhalign_omp
bin/hhblits
bin/hhblits_ca3m
%%OPENMP%%bin/hhblits_ca3m
bin/hhblits_mpi
bin/hhblits_omp
%%OPENMP%%bin/hhblits_omp
bin/hhconsensus
bin/hhfilter
bin/hhmake
bin/hhsearch
bin/hhsearch_mpi
bin/hhsearch_omp
%%OPENMP%%bin/hhsearch_omp
%%DATADIR%%/data/context_data.crf
%%DATADIR%%/data/context_data.lib
%%DATADIR%%/data/cs219.lib