[arch-commits] Commit in intel-opencl-clang/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Feb 17 18:55:28 UTC 2021


    Date: Wednesday, February 17, 2021 @ 18:55:28
  Author: foutrelis
Revision: 862618

upgpkg: intel-opencl-clang 11.0.0-2: clang 11.1.0 rebuild

Modified:
  intel-opencl-clang/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-17 18:49:14 UTC (rev 862617)
+++ PKGBUILD	2021-02-17 18:55:28 UTC (rev 862618)
@@ -4,7 +4,7 @@
 _srcname=opencl-clang
 pkgname=intel-${_srcname}
 pkgver=11.0.0
-pkgrel=1
+pkgrel=2
 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/"
@@ -15,11 +15,13 @@
 sha256sums=('0c0d5fb4bfc85c1c1ae4b441eea223193721ecdd3d9165bcc6f7859d90e5bf66')
 
 build() {
+    # PREFERRED_LLVM_VERSION is used to allow building with LLVM 11.1.0
     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 \
         -Wno-dev
     make -C build
 }



More information about the arch-commits mailing list