mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/spirv-llvm-translator to 13.0.0-1
This commit is contained in:
parent
7c92d33d90
commit
6705f09f51
1 changed files with 4 additions and 3 deletions
|
@ -6,17 +6,17 @@
|
|||
|
||||
_srcname=SPIRV-LLVM-Translator
|
||||
pkgname=${_srcname,,}
|
||||
pkgver=12.0.0
|
||||
pkgver=13.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Tool and a library for bi-directional translation between SPIR-V and LLVM IR"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/"
|
||||
license=(custom)
|
||||
depends=(llvm-libs)
|
||||
makedepends=(cmake llvm spirv-tools)
|
||||
makedepends=(cmake llvm spirv-headers spirv-tools)
|
||||
checkdepends=(python python-setuptools clang)
|
||||
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=('6e4fad04203f25fcde4c308c53e9f59bd05a390978992db3212d4b63aff62108')
|
||||
sha256sums=('b416c06525c8724be628327565956c418755fbb471b4fe23d040ca56e1a79061')
|
||||
|
||||
build() {
|
||||
cmake -B build -S ${_srcname}-${pkgver} \
|
||||
|
@ -27,6 +27,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 llvm-spirv
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue