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

Bruno Pagani archange at archlinux.org
Wed Apr 15 14:18:29 UTC 2020


    Date: Wednesday, April 15, 2020 @ 14:18:29
  Author: archange
Revision: 614717

upgpkg: intel-opencl-clang 10.0.0.1-1

Update + rebuild for LLVM 10.

Modified:
  intel-opencl-clang/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-15 14:02:12 UTC (rev 614716)
+++ PKGBUILD	2020-04-15 14:18:29 UTC (rev 614717)
@@ -3,19 +3,19 @@
 
 _srcname=opencl-clang
 pkgname=intel-${_srcname}
-pkgver=9.0.1
+pkgver=10.0.0.1
 pkgrel=1
-pkgdesc="A wrapper library around clang that can compile OpenCL C kernels to SPIR-V modules"
+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/"
 license=(custom)
 depends=(clang llvm-libs spirv-llvm-translator)
 makedepends=(cmake llvm git)
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('058d51e88cdb018fd3016d1ee2042018bd1c3d131037d4ff2cb3f08d79a8fe6d')
+source=("${url}/archive/v${pkgver/.1/-1}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('815005b6fb7fd8fd2f08b9036035d3aa9543f5ce8464e41ef2f2ed08a816f507')
 
 build() {
-    cmake -B build -S ${_srcname}-${pkgver} \
+    cmake -B build -S ${_srcname}-${pkgver/.1/-1} \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DLLVMSPIRV_INCLUDED_IN_LLVM=OFF \
         -DSPIRV_TRANSLATOR_DIR=/usr \
@@ -26,5 +26,5 @@
 
 package() {
     make -C build DESTDIR="${pkgdir}" install
-    install -Dm644 ${_srcname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+    install -Dm644 ${_srcname}-${pkgver/.1/-1}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
 }



More information about the arch-commits mailing list