From 82fecb5b60005eda7bfbc26dc7f850a17937853b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= Date: Thu, 21 Sep 2023 06:32:29 +0100 Subject: [PATCH] spirv-llvm-translator: update to 17.0.0 --- .../0001-Fix-linking-with-LLVM-components.patch | 11 ----------- mingw-w64-spirv-llvm-translator/PKGBUILD | 17 +++++------------ 2 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 mingw-w64-spirv-llvm-translator/0001-Fix-linking-with-LLVM-components.patch diff --git a/mingw-w64-spirv-llvm-translator/0001-Fix-linking-with-LLVM-components.patch b/mingw-w64-spirv-llvm-translator/0001-Fix-linking-with-LLVM-components.patch deleted file mode 100644 index dd286c6479..0000000000 --- a/mingw-w64-spirv-llvm-translator/0001-Fix-linking-with-LLVM-components.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lib/SPIRV/CMakeLists.txt -+++ b/lib/SPIRV/CMakeLists.txt -@@ -38,7 +38,7 @@ - libSPIRV/SPIRVType.cpp - libSPIRV/SPIRVValue.cpp - ) --if(LLVM_LINK_LLVM_DYLIB) -+if(LLVM_LINK_LLVM_DYLIB AND NOT LLVM_SPIRV_BUILD_EXTERNAL) - add_llvm_library(LLVMSPIRVLib STATIC DISABLE_LLVM_LINK_LLVM_DYLIB - ${SRC_LIST} - DEPENDS diff --git a/mingw-w64-spirv-llvm-translator/PKGBUILD b/mingw-w64-spirv-llvm-translator/PKGBUILD index 807b8285fd..2f94d6816f 100644 --- a/mingw-w64-spirv-llvm-translator/PKGBUILD +++ b/mingw-w64-spirv-llvm-translator/PKGBUILD @@ -4,13 +4,13 @@ _srcname=SPIRV-LLVM-Translator _realname=spirv-llvm-translator pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=16.0.0 -pkgrel=2 +pkgver=17.0.0 +pkgrel=1 pkgdesc='Tool and a library for bi-directional translation between SPIR-V and LLVM IR (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url='https://github.com/KhronosGroup/SPIRV-LLVM-Translator' -license=(custom) +license=(spdx:NCSA) depends=("${MINGW_PACKAGE_PREFIX}-llvm-libs" "${MINGW_PACKAGE_PREFIX}-spirv-tools") makedepends=("${MINGW_PACKAGE_PREFIX}-cc" @@ -18,15 +18,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "${MINGW_PACKAGE_PREFIX}-llvm" "${MINGW_PACKAGE_PREFIX}-ninja" "${MINGW_PACKAGE_PREFIX}-spirv-headers") -source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v${pkgver}/${_srcname}-${pkgver}.tar.gz" - "0001-Fix-linking-with-LLVM-components.patch") -sha256sums=('305fac5bb8efdad9054f0d27b5b765aca8b3349a500e2ba0c927763e42badc2b' - '28322c4284266f013c83eee733f64e4d6d08164fdeb72af84579b5788ed96d24') - -prepare() { - cd "${srcdir}"/${_srcname}-${pkgver} - patch -p1 -i "${srcdir}"/0001-Fix-linking-with-LLVM-components.patch -} +source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v${pkgver}/${_srcname}-${pkgver}.tar.gz") +sha256sums=('eba381e1dd99b4ff6c672a28f52755d1adf2d810a97b51e6074ad4fa67937fb2') build() { declare -a _extra_config