[arch-commits] Commit in intel-compute-runtime/repos/community-x86_64 (2 files)

Daniel Bermond dbermond at archlinux.org
Mon May 4 15:57:08 UTC 2020


    Date: Monday, May 4, 2020 @ 15:57:06
  Author: dbermond
Revision: 624737

archrelease: copy trunk to community-x86_64

Added:
  intel-compute-runtime/repos/community-x86_64/PKGBUILD
    (from rev 624736, intel-compute-runtime/trunk/PKGBUILD)
Deleted:
  intel-compute-runtime/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-04 15:56:40 UTC (rev 624736)
+++ PKGBUILD	2020-05-04 15:57:06 UTC (rev 624737)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-compute-runtime
-pkgver=20.16.16582
-pkgrel=1
-pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver"
-arch=(x86_64)
-url="https://01.org/compute-runtime"
-license=(MIT)
-depends=(gcc-libs intel-gmmlib intel-graphics-compiler)
-makedepends=(cmake libva level-zero-headers)
-optdepends=('libva: for cl_intel_va_api_media_sharing'
-            'libdrm: for cl_intel_va_api_media_sharing')
-provides=(opencl-driver level-zero-driver)
-source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('94643285b84e2f059c36c8715a8c1a4de3edd4ce11ec3b6181e30f0c5458920f')
-
-build() {
-    export CFLAGS+=" ${CPPFLAGS}"
-    export CXXFLAGS+=" ${CPPFLAGS}"
-    cmake -B build -S compute-runtime-${pkgver} \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -Wno-dev
-    make -C build
-}
-
-package() {
-    make -C build DESTDIR="${pkgdir}" install
-    install -Dm755 build/bin/libocloc.so -t "${pkgdir}"/usr/lib/intel-opencl
-    install -Dm644 compute-runtime-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-    
-    local _lz_sover
-    local _lz_major
-    _lz_sover=$(find "${pkgdir}"/usr/lib -type f -name 'libze_intel_gpu.so.*.*.*' | sed 's/^.*\.so\.//')
-    _lz_major=${_lz_sover%%.*}
-    ln -s libze_intel_gpu.so.${_lz_sover} "${pkgdir}"/usr/lib/libze_intel_gpu.so
-    ln -s libze_intel_gpu.so.${_lz_sover} "${pkgdir}"/usr/lib/libze_intel_gpu.so.${_lz_major}
-}

Copied: intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 624736, intel-compute-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-04 15:57:06 UTC (rev 624737)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-compute-runtime
+pkgver=20.17.16650
+pkgrel=1
+pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver"
+arch=(x86_64)
+url="https://01.org/compute-runtime"
+license=(MIT)
+depends=(gcc-libs intel-gmmlib intel-graphics-compiler)
+makedepends=(cmake libva level-zero-headers)
+optdepends=('libva: for cl_intel_va_api_media_sharing'
+            'libdrm: for cl_intel_va_api_media_sharing')
+provides=(opencl-driver level-zero-driver)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('83074289e9bdd23b40e3e248d189703173a463f9d88dee12bc0b67730121e5d4')
+
+build() {
+    export CFLAGS+=" ${CPPFLAGS}"
+    export CXXFLAGS+=" ${CPPFLAGS}"
+    cmake -B build -S compute-runtime-${pkgver} \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -Wno-dev
+    make -C build
+}
+
+package() {
+    make -C build DESTDIR="${pkgdir}" install
+    install -Dm755 build/bin/libocloc.so -t "${pkgdir}"/usr/lib/intel-opencl
+    install -Dm644 compute-runtime-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+    
+    local _lz_sover
+    local _lz_major
+    _lz_sover=$(find "${pkgdir}"/usr/lib -type f -name 'libze_intel_gpu.so.*.*.*' | sed 's/^.*\.so\.//')
+    _lz_major=${_lz_sover%%.*}
+    ln -s libze_intel_gpu.so.${_lz_sover} "${pkgdir}"/usr/lib/libze_intel_gpu.so
+    ln -s libze_intel_gpu.so.${_lz_sover} "${pkgdir}"/usr/lib/libze_intel_gpu.so.${_lz_major}
+}


More information about the arch-commits mailing list