From c7b78d48b29c755f33341c344ceac98ab47c5771 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Tue, 7 Apr 2020 08:57:27 +0000 Subject: [PATCH] Disable HPCombi on i386: Intrinsic _mm_extract_epi64 not supported by compiler. Reported by: pkg-fallout --- math/hpcombi/Makefile | 2 +- math/libsemigroups/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/math/hpcombi/Makefile b/math/hpcombi/Makefile index ca7ef6dbd1b6..ca5f6bd75761 100644 --- a/math/hpcombi/Makefile +++ b/math/hpcombi/Makefile @@ -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 diff --git a/math/libsemigroups/Makefile b/math/libsemigroups/Makefile index 8811ee297dbc..980e869c52b5 100644 --- a/math/libsemigroups/Makefile +++ b/math/libsemigroups/Makefile @@ -25,12 +25,12 @@ TEST_TARGET= check .include -.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|' \