Date: Sunday, March 12, 2023 @ 10:06:55
  Author: svenstaro
Revision: 1419246

upgpkg: embree 4.0.1-1

Modified:
  embree/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-12 09:15:10 UTC (rev 1419245)
+++ PKGBUILD    2023-03-12 10:06:55 UTC (rev 1419246)
@@ -3,8 +3,8 @@
 # Contributor: Lukas Jirkovsky <[email protected]>
 
 pkgname=embree
-pkgver=3.13.5
-pkgrel=2
+pkgver=4.0.1
+pkgrel=1
 pkgdesc="Collection of high-performance ray tracing kernels"
 arch=('x86_64')
 url="https://embree.github.io/";
@@ -12,23 +12,24 @@
 depends=('intel-tbb')
 makedepends=('cmake' 'ispc' 'freeglut' 'libxmu' 'ninja')
 
source=(https://github.com/embree/embree/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('b8c22d275d9128741265537c559d0ea73074adbf2f2b66b0a766ca52c52d665b')
+sha256sums=('1fa3982fa3531f1b6e81f19e6028ae8a62b466597f150b853440fe35ef7c6c06')
 
 build() {
+    # Embree detects actual ISA at runtime but we have to set a high maximum
+    # buildtime version as it would otherwise default to the builder processor.
     cmake \
       -B build \
       -G Ninja \
       -S ${pkgname}-${pkgver} \
       -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_INSTALL_LIBDIR=lib \
       -DCMAKE_BUILD_TYPE=Release \
       -DEMBREE_TUTORIALS=OFF \
       -DEMBREE_MAX_ISA="AVX512SKX" \
-      -DEMBREE_RAY_MASK=OFF \
-      -DEMBREE_FILTER_FUNCTION=ON \
       -DEMBREE_BACKFACE_CULLING=OFF
-    # Embree detects actual ISA at runtime
     ninja -C build
+    # Maybe enable these later once they are out of beta:
+      # -DEMBREE_SYCL_SUPPORT=ON \
+      # -DEMBREE_SYCL_LARGEGRF=ON
 }
 
 package() {

Reply via email to