[arch-commits] Commit in intel-opencl-clang/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Thu Mar 5 08:09:08 UTC 2020


    Date: Thursday, March 5, 2020 @ 08:09:07
  Author: archange
Revision: 590696

archrelease: copy trunk to community-x86_64

Added:
  intel-opencl-clang/repos/community-x86_64/PKGBUILD
    (from rev 590695, intel-opencl-clang/trunk/PKGBUILD)
Deleted:
  intel-opencl-clang/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-05 08:08:57 UTC (rev 590695)
+++ PKGBUILD	2020-03-05 08:09:07 UTC (rev 590696)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_srcname=opencl-clang
-pkgname=intel-${_srcname}
-pkgver=9.0.0
-pkgrel=3
-pkgdesc="A 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=('f98b9122da4066e96853429a3cff9e6c0bfb0fee14fa2be5a22e43546a5cfd93')
-
-prepare() {
-    mkdir -p build
-}
-
-build() {
-    cd build
-    cmake ../${_srcname}-${pkgver} \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DLLVMSPIRV_INCLUDED_IN_LLVM=OFF \
-        -DSPIRV_TRANSLATOR_DIR=/usr \
-        -DLLVM_NO_DEAD_STRIP=ON \
-        -Wno-dev
-    make
-}
-
-package() {
-    cd build
-    make DESTDIR="${pkgdir}" install
-    install -Dm644 ../${_srcname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: intel-opencl-clang/repos/community-x86_64/PKGBUILD (from rev 590695, intel-opencl-clang/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-05 08:09:07 UTC (rev 590696)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_srcname=opencl-clang
+pkgname=intel-${_srcname}
+pkgver=9.0.1
+pkgrel=1
+pkgdesc="A 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')
+
+build() {
+    cmake -B build -S ${_srcname}-${pkgver} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DLLVMSPIRV_INCLUDED_IN_LLVM=OFF \
+        -DSPIRV_TRANSLATOR_DIR=/usr \
+        -DLLVM_NO_DEAD_STRIP=ON \
+        -Wno-dev
+    make -C build
+}
+
+package() {
+    make -C build DESTDIR="${pkgdir}" install
+    install -Dm644 ${_srcname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list