Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/embree2/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-20 20:26:06 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-20 20:26:06 +0200
commit78754c570d0cdbd9e4ddf35bde19790f199a517b (patch)
treebf5b2195c9d1f602d4213873101bb6cfdf82fa10 /community/embree2/PKGBUILD
parent4b0ea25a59012e1d4523ea892973a2a859ee2ce9 (diff)
community/embree2: building only up to ISA SSE2
Diffstat (limited to 'community/embree2/PKGBUILD')
-rw-r--r--community/embree2/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
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"/
+ '
+)"