[arch-commits] Commit in intel-compute-runtime/repos/community-x86_64 (2 files)
Daniel Bermond
dbermond at archlinux.org
Fri Jan 3 18:02:42 UTC 2020
Date: Friday, January 3, 2020 @ 18:02:41
Author: dbermond
Revision: 547652
archrelease: copy trunk to community-x86_64
Added:
intel-compute-runtime/repos/community-x86_64/PKGBUILD
(from rev 547651, intel-compute-runtime/trunk/PKGBUILD)
Deleted:
intel-compute-runtime/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 41 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-03 18:02:18 UTC (rev 547651)
+++ PKGBUILD 2020-01-03 18:02:41 UTC (rev 547652)
@@ -1,31 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-compute-runtime
-pkgver=19.51.15145
-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=('222a8f6515ea0f05f4bbc3d08b180c71190042b5d2d38d8001885b4e184c565e')
-
-build() {
- cmake -B build -S compute-runtime-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DNEO_DRIVER_VERSION=${pkgver}
- make -C build
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
- install -Dm644 compute-runtime-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 547651, intel-compute-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-03 18:02:41 UTC (rev 547652)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-compute-runtime
+pkgver=19.52.15209
+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"
+ '010-neo-move-GmmClientContext.patch'::'https://github.com/intel/compute-runtime/commit/8cc2a6c28e8f0d10b34081931e0d961bdeeec7ea.patch'
+ '020-neo-intel-gmmlib-19.4.1.patch'::'https://github.com/intel/compute-runtime/commit/87e948eef584c7666d4dd7ccf0b5384077deedbf.patch')
+sha256sums=('91405bcdc2241073161adc5d01885121adf78454d6dbd3dd796a5fd3fdae2812'
+ 'b43bdcca78321b3353b43115f6ad527447d6b9bdbd09bd1217ee0435c0de29f6'
+ 'c142a9bd886bfe3643dd4d9e48b0031ca6b83870603614359146faf7783fb3b0')
+
+prepare() {
+ # add support for intel-gmmlib 19.4.1
+ patch -d compute-runtime-${pkgver} -Np1 -i "${srcdir}/010-neo-move-GmmClientContext.patch"
+ patch -d compute-runtime-${pkgver} -Np1 -i "${srcdir}/020-neo-intel-gmmlib-19.4.1.patch"
+}
+
+build() {
+ cmake -B build -S compute-runtime-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DNEO_DRIVER_VERSION=${pkgver}
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 compute-runtime-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list