Date: Monday, March 13, 2023 @ 15:35:55
  Author: svenstaro
Revision: 1419691

upgpkg: intel-compute-runtime 22.43.24595.30-2: Fix last digit version number

This was reported by Intel and multiple users to currently be incorrect. This 
change
should correct it.

Modified:
  intel-compute-runtime/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-13 15:31:30 UTC (rev 1419690)
+++ PKGBUILD    2023-03-13 15:35:55 UTC (rev 1419691)
@@ -3,7 +3,7 @@
 
 pkgname=intel-compute-runtime
 pkgver=22.43.24595.30
-pkgrel=1
+pkgrel=2
 pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and 
OpenCL(TM) Driver"
 arch=(x86_64)
 url="https://01.org/compute-runtime";
@@ -27,7 +27,7 @@
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DNEO_OCL_VERSION_MAJOR=${pkgver%%.*} \
     -DNEO_OCL_VERSION_MINOR=$(echo ${pkgver} | cut -d . -f2) \
-    -DNEO_VERSION_BUILD=${pkgver##*.} \
+    -DNEO_VERSION_BUILD=$(echo ${pkgver} | cut -d . -f3) \
     -DSUPPORT_DG1=ON \
     -DKHRONOS_GL_HEADERS_DIR=/usr/include/GL \
     -DKHRONOS_HEADERS_DIR=/usr/include/CL \

Reply via email to