[arch-commits] Commit in intel-compute-runtime/repos/community-staging-x86_64 (2 files)
Bruno Pagani
archange at archlinux.org
Sat Nov 7 10:23:24 UTC 2020
Date: Saturday, November 7, 2020 @ 10:23:23
Author: archange
Revision: 745581
archrelease: copy trunk to community-staging-x86_64
Added:
intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD
(from rev 745580, intel-compute-runtime/trunk/PKGBUILD)
Deleted:
intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 41 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-07 10:23:05 UTC (rev 745580)
+++ PKGBUILD 2020-11-07 10:23:23 UTC (rev 745581)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-compute-runtime
-pkgver=20.43.18277
-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=('d24f31f19f8807481aee38a909e332abe7944c2cea123a4f1489b784977f7d72')
-
-prepare() {
- cd compute-runtime-${pkgver}
- sed -i 's|-Werror||g' CMakeLists.txt
-}
-
-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-staging-x86_64/PKGBUILD (from rev 745580, intel-compute-runtime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-07 10:23:23 UTC (rev 745581)
@@ -0,0 +1,41 @@
+# 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
+}
More information about the arch-commits
mailing list