Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-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"/
+ '
+)"