summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2023-07-19 13:11:00 -0300
committerDaniel Bermond2023-07-19 13:11:00 -0300
commit4799b33e8660a8d315644b92a639c8911dd791c4 (patch)
tree552947b636fbd8e5842e2917e77bb87089ad8e29
parent30f7d3745c0b98e8e3170c11c360058435992cf1 (diff)
downloadaur-4799b33e8660a8d315644b92a639c8911dd791c4.tar.gz
Update to version 2023.05.12
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a1133c9d2c3..7bbf97baf580 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = spirv-cross
pkgdesc = A tool and library for parsing and converting SPIR-V to other shader languages
- pkgver = 2023.01.17
+ pkgver = 2023.05.12
pkgrel = 1
url = https://github.com/KhronosGroup/SPIRV-Cross/
arch = x86_64
@@ -9,7 +9,7 @@ pkgbase = spirv-cross
makedepends = cmake
makedepends = python
depends = gcc-libs
- source = git+https://github.com/KhronosGroup/SPIRV-Cross.git#tag=sdk-1.3.239.0
+ source = git+https://github.com/KhronosGroup/SPIRV-Cross.git#tag=sdk-1.3.250.1
source = git+https://github.com/KhronosGroup/glslang.git#commit=06a7078ce74ab5c7801a165b8145859678831fb8
source = git+https://github.com/KhronosGroup/SPIRV-Tools.git#commit=f62e121b0df5374d1f043d1fbda98467406af0b1
source = git+https://github.com/KhronosGroup/SPIRV-Headers.git#commit=d13b52222c39a7e9a401b44646f0ca3a640fbd47
diff --git a/PKGBUILD b/PKGBUILD
index f5cd941c0e64..18f90dc0883a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=spirv-cross
-pkgver=2023.01.17
+pkgver=2023.05.12
pkgrel=1
-_tag=sdk-1.3.239.0
+_tag=sdk-1.3.250.1
_glslang_commit=06a7078ce74ab5c7801a165b8145859678831fb8
_spirv_tools_commit=f62e121b0df5374d1f043d1fbda98467406af0b1
_spirv_headers_commit=d13b52222c39a7e9a401b44646f0ca3a640fbd47
@@ -36,7 +36,7 @@ pkgver() {
build() {
# NOTE: test suite fails when using 'None' build type
- local -a _common_opts=('-DCMAKE_BUILD_TYPE:STRING=Release' '-Wno-dev')
+ local -a _common_opts=('-G Unix Makefiles' '-DCMAKE_BUILD_TYPE:STRING=Release' '-Wno-dev')
export CFLAGS+=' -ffat-lto-objects'
export CXXFLAGS+=' -ffat-lto-objects'
@@ -60,13 +60,13 @@ build() {
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DSPIRV_CROSS_FORCE_PIC:BOOL='ON' \
-DSPIRV_CROSS_SHARED:BOOL='ON'
- make -C build-SPIRV-Cross
+ cmake --build build-SPIRV-Cross
}
check() {
- make -C build-SPIRV-Cross test
+ ctest --test-dir build-SPIRV-Cross --output-on-failure
}
package() {
- make -C build-SPIRV-Cross DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build-SPIRV-Cross
}