diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-20 20:26:06 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-20 20:26:06 +0200 |
commit | 78754c570d0cdbd9e4ddf35bde19790f199a517b (patch) | |
tree | bf5b2195c9d1f602d4213873101bb6cfdf82fa10 /community/embree2/PKGBUILD | |
parent | 4b0ea25a59012e1d4523ea892973a2a859ee2ce9 (diff) | |
download | packages-78754c570d0cdbd9e4ddf35bde19790f199a517b.tar.xz |
community/embree2: building only up to ISA SSE2
Diffstat (limited to 'community/embree2/PKGBUILD')
-rw-r--r-- | community/embree2/PKGBUILD | 8 |
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"/ + ' +)" |