Disable HPCombi on i386:

Intrinsic _mm_extract_epi64 not supported by compiler.

Reported by:	pkg-fallout
This commit is contained in:
Thierry Thomas 2020-04-07 08:57:27 +00:00
parent 5e072cd9a3
commit c7b78d48b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530953
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ COMMENT= Fast combinatorics in C++ using SSE/AVX instruction sets
LICENSE= GPLv3
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= Uses Advanced Vector Extensions (AVX) instructions set
BUILD_DEPENDS= sparsehash>0:devel/sparsehash

View File

@ -25,12 +25,12 @@ TEST_TARGET= check
.include <bsd.port.pre.mk>
.if ${ARCH} != amd64 && ${ARCH} != i386
.if ${ARCH} != amd64
CONFIGURE_ARGS+= --disable-hpcombi
.endif
pre-configure:
.if ${ARCH} == amd64 || ${ARCH} == i386
.if ${ARCH} == amd64
${REINPLACE_CMD} -e 's|$$srcdir/extern/HPCombi|${LOCALBASE}/share/HPCombi|' \
${WRKSRC}/m4/ax_check_hpcombi.m4
${REINPLACE_CMD} -e 's|extern/HPCombi/include|${LOCALBASE}/include/HPCombi|' \