Skip to content

Commit

Permalink
SPIRV-LLVM-Translator: update to 19.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Martinez committed Nov 23, 2024
1 parent 266b876 commit b96923c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 26 deletions.
1 change: 0 additions & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,6 @@ libclang-cpp.so.17 libclang-cpp17-17.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVM.so.19.1 libllvm19-19.1.0_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
libLLVMSPIRVLib.so.19.1 SPIRV-LLVM-Translator19-19.1.1_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
Expand Down
33 changes: 8 additions & 25 deletions srcpkgs/SPIRV-LLVM-Translator/template
Original file line number Diff line number Diff line change
@@ -1,33 +1,16 @@
# Template file for 'SPIRV-LLVM-Translator'
pkgname=SPIRV-LLVM-Translator
version=18.1.3
version=19
revision=1
build_style=cmake
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 SPIRV-Tools-devel"
short_desc="API and commands for processing SPIR-V modules"
build_style=meta
depends="SPIRV-LLVM-Translator${version}"
short_desc="Bidirectional SPIR-V to LLVM Translator - transitional meta package"
maintainer="Daniel Martinez <[email protected]>"
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=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
}
license="Public Domain"
homepage="https://www.voidlinux.org"

SPIRV-LLVM-Translator-devel_package() {
depends="SPIRV-LLVM-Translator-${version}_${revision}"
build_style=meta
depends="SPIRV-LLVM-Translator${version}-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}

0 comments on commit b96923c

Please sign in to comment.