summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embree-isa/PKGBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/embree-isa/PKGBUILD b/embree-isa/PKGBUILD
deleted file mode 100644
index 21dc64219..000000000
--- a/embree-isa/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-# Contributor: gucong <gucong43216@gmail.com>
-# Maintainer: Erich Eckner <arch at eckner dot net>
-
-pkgname=embree-isa
-pkgver=3.13.5
-pkgrel=565
-pkgdesc="A collection of high-performance ray tracing kernels (with build-time ISA detection)"
-arch=('x86_64')
-url="https://embree.github.io/"
-license=('Apache')
-_pinned_dependencies=(
- 'gcc-libs=12.2.1'
- 'glibc>=2.31'
- 'tbb=2021.5.0'
-)
-depends=("${_pinned_dependencies[@]}")
-provides=('embree')
-conflicts=('embree')
-makedepends=('cmake' 'ispc' 'freeglut' 'libxmu' 'openexr')
-source=("embree-${pkgver}.tar.gz::https://github.com/embree/embree/archive/v${pkgver}.tar.gz")
-sha512sums=('13ae19b1750197fb4887ba601c75d1b54b3c388224672b6561dd922bc9b9747139cf46ce554727e3afa13dcf152ce4d703935cb9105ced792b011f2d05fa3e95')
-
-build() {
- cd "$srcdir/embree-$pkgver"
-
- MAX_ISA="SSE2"
- cat /proc/cpuinfo | grep sse3 > /dev/null && MAX_ISA="SSE3"
- cat /proc/cpuinfo | grep sse4_1 > /dev/null && MAX_ISA="SSE4.1"
- cat /proc/cpuinfo | grep sse4_2 > /dev/null && MAX_ISA="SSE4.2"
- cat /proc/cpuinfo | grep avx > /dev/null && MAX_ISA="AVX"
- cat /proc/cpuinfo | grep avx2 > /dev/null && MAX_ISA="AVX2"
- # ICC required for avx512 ?
-
- echo MAX_ISA: $MAX_ISA
-
- cmake . \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release \
- -DEMBREE_TUTORIALS=OFF \
- -DEMBREE_MAX_ISA="$MAX_ISA"
- make
-}
-
-package() {
- cd "$srcdir/embree-$pkgver"
- make DESTDIR="$pkgdir" install
-}
-