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

Daniel Bermond dbermond at archlinux.org
Fri Oct 4 17:41:28 UTC 2019


    Date: Friday, October 4, 2019 @ 17:41:27
  Author: dbermond
Revision: 512848

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 512847, intel-compute-runtime/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-04 17:41:27 UTC (rev 512848)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_srcname=compute-runtime
+pkgname=intel-${_srcname}
+pkgver=19.39.14278
+pkgrel=1
+pkgdesc="Intel(R) Graphics Compute Runtime for OpenCL(TM). Replaces Beignet for Gen8 (Broadwell) and beyond."
+arch=(x86_64)
+url="https://01.org/compute-runtime"
+license=(MIT)
+depends=(gcc-libs intel-gmmlib intel-graphics-compiler)
+makedepends=(cmake libva)
+optdepends=('libva: for cl_intel_va_api_media_sharing'
+            'libdrm: for cl_intel_va_api_media_sharing')
+provides=(opencl-driver)
+source=("https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('607b891a99d8c2f191147fb66d8dd42a6b3a71c56a4c483fa966bd429163a2e8')
+
+prepare() {
+    mkdir -p build
+}
+
+build() {
+    cd build
+    cmake ../${_srcname}-${pkgver} \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DNEO_DRIVER_VERSION=${pkgver}
+    make
+}
+
+package() {
+    cd build
+    make DESTDIR="${pkgdir}" install
+    install -Dm644 ../${_srcname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list