git: 02b24eeb0152 - main - biology/metaeuk: fix build on powerpc64le by disabling openmp until libomp is fixed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jan 2024 14:35:31 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=02b24eeb0152df74d1c5c949cd5eebbf7a8a6495 commit 02b24eeb0152df74d1c5c949cd5eebbf7a8a6495 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-01-12 18:53:03 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-01-16 14:35:21 +0000 biology/metaeuk: fix build on powerpc64le by disabling openmp until libomp is fixed --- biology/metaeuk/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/biology/metaeuk/Makefile b/biology/metaeuk/Makefile index 86e2d6b98b04..c165e0aa717f 100644 --- a/biology/metaeuk/Makefile +++ b/biology/metaeuk/Makefile @@ -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 @@ -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