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

2022-06-27 Thread Bruno Pagani via arch-commits
Date: Monday, June 27, 2022 @ 10:23:31
  Author: archange
Revision: 1239638

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 1239637, intel-compute-runtime/trunk/PKGBUILD)

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

Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 
1239637, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-27 10:23:31 UTC (rev 1239638)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.25.23529
+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)
+# https://github.com/intel/compute-runtime/issues/528
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('b2d9f6dea2a2bb132999c7ae2e22f4d513807886d972a40bebf4f68cf11cd040')
+
+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
+}



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

2022-06-14 Thread Bruno Pagani via arch-commits
Date: Tuesday, June 14, 2022 @ 19:39:50
  Author: archange
Revision: 1237917

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: intel-compute-runtime/repos/community-testing-x86_64/PKGBUILD (from rev 
1237916, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-06-14 19:39:50 UTC (rev 1237917)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.23.23405
+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)
+# https://github.com/intel/compute-runtime/issues/528
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('ce594214b6e6424e53cf41c9c36325ecb84910230fda66b557cd13f275bc6c95')
+
+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 \
+-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
+}



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

2022-05-20 Thread Bruno Pagani via arch-commits
Date: Friday, May 20, 2022 @ 16:35:16
  Author: archange
Revision: 1209407

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: intel-compute-runtime/repos/community-testing-x86_64/PKGBUILD (from rev 
1209406, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-05-20 16:35:16 UTC (rev 1209407)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.20.23198
+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)
+# https://github.com/intel/compute-runtime/issues/528
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('ab22b8bf2560a57fdd3def0e35a62ca75991406f959c0263abb00cd6cd9ae998')
+
+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
+}



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

2022-05-07 Thread Bruno Pagani via arch-commits
Date: Saturday, May 7, 2022 @ 11:43:00
  Author: archange
Revision: 1196169

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: intel-compute-runtime/repos/community-testing-x86_64/PKGBUILD (from rev 
1196168, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-05-07 11:43:00 UTC (rev 1196169)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.18.23063
+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)
+# https://github.com/intel/compute-runtime/issues/528
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+
${pkgname}-gcc12.patch::https://github.com/intel/compute-runtime/commit/ac01f74924ea9df977466d28fce1a049abc22a9d.patch)
+sha256sums=('3dc6a530838cd80c17fa4de64e615e5aa228623029cd7da4564ced378a5264fa'
+'9075dc4abc0baf8002463424c6e0fc9d568f4cba6158c8912434e255fe2541cf')
+
+prepare() {
+  patch -p1 -d compute-runtime-${pkgver} < ${pkgname}-gcc12.patch
+}
+
+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
+}



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

2022-04-30 Thread Bruno Pagani via arch-commits
Date: Saturday, April 30, 2022 @ 13:52:59
  Author: archange
Revision: 1191967

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: intel-compute-runtime/repos/community-testing-x86_64/PKGBUILD (from rev 
1191966, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-04-30 13:52:59 UTC (rev 1191967)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.17.23034
+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)
+# https://github.com/intel/compute-runtime/issues/528
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('d46ef4801b202f031d516da62e7e4f7da26288238f8371f67d63e1dd57d98b62')
+
+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
+}



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

2022-04-22 Thread Bruno Pagani via arch-commits
Date: Friday, April 22, 2022 @ 22:30:59
  Author: archange
Revision: 1187459

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: intel-compute-runtime/repos/community-testing-x86_64/PKGBUILD (from rev 
1187458, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-04-22 22:30:59 UTC (rev 1187459)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.16.22992
+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)
+# https://github.com/intel/compute-runtime/issues/528
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('953983b8bcadafe6c1a14501a8602ab2fa0ee921f4d6449bc0bc62029b579968')
+
+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
+}



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

2022-03-05 Thread Bruno Pagani via arch-commits
Date: Saturday, March 5, 2022 @ 09:52:38
  Author: archange
Revision: 1142156

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 1142155, intel-compute-runtime/trunk/PKGBUILD)

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

Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 
1142155, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-05 09:52:38 UTC (rev 1142156)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=22.09.22577
+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)
+options=(!lto)
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('5e8dd1e740e04298563ae3e8b73375d9b441a9c6bcd10a8f4d867d101d8dd26b')
+
+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
+}



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

2021-10-30 Thread Bruno Pagani via arch-commits
Date: Saturday, October 30, 2021 @ 09:50:21
  Author: archange
Revision: 1034945

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 1034944, intel-compute-runtime/trunk/PKGBUILD)

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

Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 
1034944, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-30 09:50:21 UTC (rev 1034945)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=21.43.21438
+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=('33a4626aeeb52444ec05e64cc16d3b97c878cfc5f7687f6380869a60f55376f3')
+
+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 \
+-DNEO_DISABLE_BUILTINS_COMPILATION=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
+}



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

2021-10-18 Thread Bruno Pagani via arch-commits
Date: Monday, October 18, 2021 @ 12:57:58
  Author: archange
Revision: 1030833

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: intel-compute-runtime/repos/community-testing-x86_64/PKGBUILD (from rev 
1030832, intel-compute-runtime/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-10-18 12:57:58 UTC (rev 1030833)
@@ -0,0 +1,35 @@
+# Maintainer: Daniel Bermond 
+# Maintainer: Bruno Pagani 
+
+pkgname=intel-compute-runtime
+pkgver=21.41.21220
+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=('5854326e54adfbfae52dbd9a7a07e5cc2af5e1108a7a42eafa70e5dfe969d302')
+
+build() {
+  cmake -B build -S compute-runtime-${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DSUPPORT_DG1=ON \
+-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
+}