From 78754c570d0cdbd9e4ddf35bde19790f199a517b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 20 Jun 2018 20:26:06 +0200 Subject: community/embree2: building only up to ISA SSE2 --- community/embree2/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 community/embree2/PKGBUILD diff --git a/community/embree2/PKGBUILD b/community/embree2/PKGBUILD new file mode 100644 index 00000000..632a2d91 --- /dev/null +++ b/community/embree2/PKGBUILD @@ -0,0 +1,8 @@ +# avoid breakage in newer CPU ISAs, supporting SSE2 should be enough for +# 32-bit platforms +eval "$( + declare -f build | \ + sed ' + /cmake/s/-DEMBREE_MAX_ISA="AVX512SKX"/-DEMBREE_MAX_ISA="SSE2"/ + ' +)" -- cgit v1.2.3-70-g09d2