svn commit: r534934 - head/biology/hhsuite

Piotr Kubaj pkubaj at FreeBSD.org
Mon May 11 19:33:33 UTC 2020


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>


More information about the svn-ports-all mailing list