[arch-commits] Commit in intel-opencl-clang/trunk (PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Sat May 29 15:06:06 UTC 2021
Date: Saturday, May 29, 2021 @ 15:06:05
Author: dbermond
Revision: 950150
upgpkg: intel-opencl-clang 12.0.0-1
Modified:
intel-opencl-clang/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-29 15:05:36 UTC (rev 950149)
+++ PKGBUILD 2021-05-29 15:06:05 UTC (rev 950150)
@@ -3,8 +3,8 @@
_srcname=opencl-clang
pkgname=intel-${_srcname}
-pkgver=11.0.0
-pkgrel=2
+pkgver=12.0.0
+pkgrel=1
pkgdesc="Wrapper library around clang that can compile OpenCL C kernels to SPIR-V modules"
arch=(x86_64)
url="https://github.com/intel/opencl-clang/"
@@ -12,16 +12,16 @@
depends=(clang llvm-libs spirv-llvm-translator)
makedepends=(cmake llvm git)
source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('0c0d5fb4bfc85c1c1ae4b441eea223193721ecdd3d9165bcc6f7859d90e5bf66')
+sha256sums=('da3cde9c3b360526371d255d99283f390a01a984fef84378d2df1e34021dda27')
build() {
- # PREFERRED_LLVM_VERSION is used to allow building with LLVM 11.1.0
+ # PREFERRED_LLVM_VERSION is used to allow building with upcoming LLVM minor releases
cmake -B build -S ${_srcname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLLVMSPIRV_INCLUDED_IN_LLVM=OFF \
-DSPIRV_TRANSLATOR_DIR=/usr \
-DLLVM_NO_DEAD_STRIP=ON \
- -DPREFERRED_LLVM_VERSION=11.1.0 \
+ -DPREFERRED_LLVM_VERSION=12.0.0 \
-Wno-dev
make -C build
}
More information about the arch-commits
mailing list