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

Bruno Pagani archange at gemini.archlinux.org
Mon Nov 22 19:55:24 UTC 2021


    Date: Monday, November 22, 2021 @ 19:55:24
  Author: archange
Revision: 1054360

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-22 19:55:13 UTC (rev 1054359)
+++ PKGBUILD	2021-11-22 19:55:24 UTC (rev 1054360)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-compute-runtime
-pkgver=21.45.21574
-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 igsc)
-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=('bf76ba2a6dd75ff528b0399fa75058a8ea8799c6b6048c25a4671ff1c699b468')
-
-build() {
-  # ${${pkgver#*.}%.*} not supported by bash?
-  cmake -B build -S compute-runtime-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DNEO_OCL_VERSION_MAJOR=${pkgver%%.*} \
-    -DNEO_OCL_VERSION_MINOR=$(echo ${pkgver} | cut -d . -f2) \
-    -DNEO_VERSION_BUILD=${pkgver##*.} \
-    -DSUPPORT_DG1=ON \
-    -DSKIP_UNIT_TESTS=1 \
-    -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.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
-  
-  ln -s $(find "${pkgdir}"/usr/lib -regex '.*libze_intel_gpu.so.[0-9]*' -exec basename {} \;) "${pkgdir}"/usr/lib/libze_intel_gpu.so
-}

Copied: intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 1054359, intel-compute-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-22 19:55:24 UTC (rev 1054360)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-compute-runtime
+pkgver=21.46.21636
+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 igsc)
+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=('8e80c566fee646fbb8bb93cfe371723c9f2654d3ba2c7c62adea003add2b2aee')
+
+build() {
+  # ${${pkgver#*.}%.*} not supported by bash?
+  cmake -B build -S compute-runtime-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DNEO_OCL_VERSION_MAJOR=${pkgver%%.*} \
+    -DNEO_OCL_VERSION_MINOR=$(echo ${pkgver} | cut -d . -f2) \
+    -DNEO_VERSION_BUILD=${pkgver##*.} \
+    -DSUPPORT_DG1=ON \
+    -DSKIP_UNIT_TESTS=1 \
+    -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.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
+  
+  ln -s $(find "${pkgdir}"/usr/lib -regex '.*libze_intel_gpu.so.[0-9]*' -exec basename {} \;) "${pkgdir}"/usr/lib/libze_intel_gpu.so
+}



More information about the arch-commits mailing list