SPIRV-LLVM-Translator: update to 18.1.3.

Closes: #51592 [via git-merge-pr]
This commit is contained in:
Daniel Martinez 2024-08-01 09:04:30 -04:00 committed by classabbyamp
parent e21edf24f0
commit f75a984435
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 6 additions and 5 deletions

View File

@ -1,24 +1,25 @@
# Template file for 'SPIRV-LLVM-Translator'
pkgname=SPIRV-LLVM-Translator
version=18.1.2
version=18.1.3
revision=1
build_style=cmake
make_build_args="llvm-spirv"
configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
-DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
hostmakedepends="clang18 llvm18"
makedepends="llvm18-devel SPIRV-Headers"
makedepends="llvm18-devel SPIRV-Headers SPIRV-Tools-devel"
short_desc="API and commands for processing SPIR-V modules"
maintainer="Daniel Martinez <danielmartinez@cock.li>"
license="NCSA"
homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
checksum=4724372934041c8feb8bcafea1c9d086ab2de9f323599068943ef61ddb0bca51
checksum=d896f35102c3ba9e16ead7b4db53b75e6131982cdb36a3324f17c68a43598759
alternatives="llvm-spirv:llvm-spirv:/usr/bin/llvm-spirv-${version%.*.*}"
post_install() {
mv ${DESTDIR}/usr/bin/llvm-spirv ${DESTDIR}/usr/bin/llvm-spirv-${version%.*.*}
vlicense LICENSE.TXT
vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
}
SPIRV-LLVM-Translator-devel_package() {