aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2020-02-24 01:55:10 +0800
committeryuri <yuri@FreeBSD.org>2020-02-24 01:55:10 +0800
commit237da36ede0648baf6f522e5920bd36a60c38f7d (patch)
treeb11572b2e01ef570de9dd131a65efb95e6e26fd2
parent2d9b9f7b24ecdbb67c910d3c5844c205b18f691f (diff)
downloadfreebsd-ports-gnome-237da36ede0648baf6f522e5920bd36a60c38f7d.tar.gz
freebsd-ports-gnome-237da36ede0648baf6f522e5920bd36a60c38f7d.tar.zst
freebsd-ports-gnome-237da36ede0648baf6f522e5920bd36a60c38f7d.zip
misc/vxl: Force SSE2 on amd64 and i386 because the SSE2 auto-detection fails
Reported by: fallout
-rw-r--r--misc/vxl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/vxl/Makefile b/misc/vxl/Makefile
index 1988d9001c66..1b70a16eaa6d 100644
--- a/misc/vxl/Makefile
+++ b/misc/vxl/Makefile
@@ -31,8 +31,10 @@ do-test:
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
PLIST_SUB+= X86=""
+CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed
.else
PLIST_SUB+= X86="@comment "
+CMAKE_OFF+= VIL_CONFIG_ENABLE_SSE2_ROUNDING
.endif
.include <bsd.port.post.mk>