Date: Mon, 11 May 2020 19:33:32 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534934 - head/biology/hhsuite Message-ID: <202005111933.04BJXWu4069798@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon May 11 19:33:32 2020 New Revision: 534934 URL: https://svnweb.freebsd.org/changeset/ports/534934 Log: biology/hhsuite: fix build on powerpc64 elfv2 Use GCC instead of Clang: /usr/lib/clang/10.0.0/include/mmintrin.h:216:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw' return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2); Modified: head/biology/hhsuite/Makefile Modified: head/biology/hhsuite/Makefile ============================================================================== --- head/biology/hhsuite/Makefile Mon May 11 19:03:04 2020 (r534933) +++ head/biology/hhsuite/Makefile Mon May 11 19:33:32 2020 (r534934) @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libmpi.so:net/openmpi -USES= cmake compiler:c++11-lang perl5 python shebangfix +USES= cmake perl5 python shebangfix SHEBANG_GLOB= *.pl *.py USE_GITHUB= yes GH_ACCOUNT= soedinglab @@ -29,8 +29,11 @@ CMAKE_ON= HAVE_SSE2 .endif .if ${ARCH} == powerpc64 +USES+= compiler:gcc-c++11-lib post-patch: ${REINPLACE_CMD} -e 's/-msse -msse2/-D_ARCH_PWR8 -DNO_WARN_X86_INTRINSICS -maltivec -mpower8-vector -mvsx/g' ${WRKSRC}/src/CMakeLists.txt +.else +USES+= compiler:c++11-lang .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005111933.04BJXWu4069798>