* update spirv-llvm-translator to 17.0.0.r6+g70883514-1

This commit is contained in:
Alexander Baldeck 2024-04-10 19:59:52 +02:00
parent b226fe132e
commit 6c8b888f87

View File

@ -4,7 +4,7 @@
_srcname=SPIRV-LLVM-Translator
pkgname=${_srcname,,}
pkgver=17.0.0
pkgver=17.0.0.r6+g70883514
pkgrel=1
pkgdesc="Tool and a library for bi-directional translation between SPIR-V and LLVM IR"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -13,9 +13,8 @@ license=(custom)
depends=(llvm-libs spirv-tools)
makedepends=(git cmake llvm spirv-headers)
checkdepends=(python python-setuptools clang)
options=(!distcc)
# Current point in the used LLVM branch
_commit=17174acb0f497d031e96c366d83ea40f88f64ded
_commit=7088351420a8f0c3e5f9be678fd1d16ae826e37f
source=(git+${url}.git#commit=$_commit)
sha256sums=('SKIP')
@ -33,6 +32,7 @@ build() {
-DCMAKE_SKIP_RPATH=ON \
-DLLVM_INCLUDE_TESTS=ON \
-DLLVM_EXTERNAL_LIT=/usr/bin/lit \
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv/ \
-Wno-dev
make -C build
}