[arch-commits] Commit in intel-compute-runtime/repos/community-x86_64 (2 files)
Bruno Pagani
archange at archlinux.org
Sat Nov 14 23:15:58 UTC 2020
Date: Saturday, November 14, 2020 @ 23:15:58
Author: archange
Revision: 754235
archrelease: copy trunk to community-x86_64
Added:
intel-compute-runtime/repos/community-x86_64/PKGBUILD
(from rev 754234, intel-compute-runtime/trunk/PKGBUILD)
Deleted:
intel-compute-runtime/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++----------------------------------
1 file changed, 34 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-14 23:15:33 UTC (rev 754234)
+++ PKGBUILD 2020-11-14 23:15:58 UTC (rev 754235)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-compute-runtime
-pkgver=20.44.18297
-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
- ${pkgname}-fix-ult-tests.patch::https://github.com/intel/compute-runtime/commit/f9e0c04b542ba6fd41952df7282a6984cf75d77a.patch)
-sha256sums=('ce0d3a50606bd88e7e5ad306b9a5f8755804e0d55645e7e836d6784447e34071'
- 'ae727e69778f811a534d249486987c62afefdd7c743fb9d3e9aed89b1c05de36')
-
-prepare() {
- cd compute-runtime-${pkgver}
- patch -Np1 -i ../${pkgname}-fix-ult-tests.patch
-}
-
-build() {
- 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}
-
- 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 754234, intel-compute-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-14 23:15:58 UTC (rev 754235)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-compute-runtime
+pkgver=20.45.18403
+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=('6f7c36c5574aeb4aa3a77c2aaa4dcb205394ba6c56f6351a7b041c0ed8280b99')
+
+build() {
+ 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}
+
+ 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