Skip to content

Commit

Permalink
biology/metaeuk: fix build on powerpc64le by disabling openmp until l…
Browse files Browse the repository at this point in the history
…ibomp is fixed
  • Loading branch information
pkubaj committed Jan 16, 2024
1 parent 08a9c4d commit 02b24ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions biology/metaeuk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENCE.md

NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # 32-bit platforms produce wrong results based on https://github.com/soedinglab/metaeuk/issues/85#issuecomment-1888379107
NOT_FOR_ARCHS+= powerpc64 # many modules produce wrong results on big-endian architectures
BROKEN_powerpc64le= clang fails, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276268

BUILD_DEPENDS= xxd:editors/vim
TEST_DEPENDS= bash:shells/bash
Expand All @@ -34,7 +33,9 @@ OPTIONS_DEFINE= NATIVE

NATIVE_CMAKE_BOOL= NATIVE_ARCH

.if !exists(/usr/include/omp.h)
.include <bsd.port.options.mk>

.if !exists(/usr/include/omp.h) || ${ARCH} == powerpc64le # https://github.com/soedinglab/metaeuk/issues/85, https://github.com/llvm/llvm-project/issues/63807
CMAKE_ARGS+= -DREQUIRE_OPENMP:BOOL=OFF

post-patch: # workaround for https://github.com/soedinglab/metaeuk/issues/55
Expand Down

0 comments on commit 02b24ee

Please sign in to comment.