Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/embree
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /community/embree
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'community/embree')
-rw-r--r--community/embree/PKGBUILD27
-rw-r--r--community/embree/embree-3.2.0-intrinsic.patch12
2 files changed, 0 insertions, 39 deletions
diff --git a/community/embree/PKGBUILD b/community/embree/PKGBUILD
deleted file mode 100644
index 522a3482..00000000
--- a/community/embree/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# avoid breakage in newer CPU ISAs, supporting SSE2 should be enough for
-# 32-bit platforms
-# for special use cases (like running Archlinux32 on 64-bit hardware)
-# we can support up to SSE4.2 (everything above is too hard to fix).
-# As Embree chooses the ISA at runtime, this is no problem for machines
-# not having SSE4.2
-eval "$(
- declare -f build | \
- sed '
- /cmake/s/-DEMBREE_MAX_ISA="AVX512SKX"/-DEMBREE_MAX_ISA="SSE4.2"/
- '
-)"
-
-# some 32-bit fixes around intrinsics where applied to WIN32 only,
-# applying a counter-patch here
-source+=('embree-3.2.0-intrinsic.patch')
-sha256sums+=('7d5e44a034b02e14d7d37cd038d8c279d13d66b54a449c09e0687458f117723f')
-eval "$(
- {
- declare -f prepare || \
- printf 'prepare() {\n}\n'
- } \
- | sed '
- $i cd "$srcdir/$pkgname-$pkgver" \
- patch -Np1 -i "$srcdir/embree-3.2.0-intrinsic.patch"
- '
-)"
diff --git a/community/embree/embree-3.2.0-intrinsic.patch b/community/embree/embree-3.2.0-intrinsic.patch
deleted file mode 100644
index afb49357..00000000
--- a/community/embree/embree-3.2.0-intrinsic.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rauN embree-3.2.0/common/simd/vint4_sse2.h embree-3.2.0-intrinsic-patch/common/simd/vint4_sse2.h
---- embree-3.2.0/common/simd/vint4_sse2.h 2018-05-15 08:02:58.000000000 +0200
-+++ embree-3.2.0-intrinsic-patch/common/simd/vint4_sse2.h 2018-06-20 20:44:57.322042285 +0200
-@@ -455,7 +455,7 @@
- __forceinline int toScalar(const vint4& v) { return _mm_cvtsi128_si32(v); }
-
- __forceinline size_t toSizeT(const vint4& v) {
--#if defined(__WIN32__) && !defined(__X86_64__) // win32 workaround
-+#if !defined(__X86_64__) // win32 workaround
- return toScalar(v);
- #else
- return _mm_cvtsi128_si64(v);