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

Daniel Bermond dbermond at archlinux.org
Sun May 30 15:09:52 UTC 2021


    Date: Sunday, May 30, 2021 @ 15:09:52
  Author: dbermond
Revision: 950397

upgpkg: intel-compute-runtime 21.21.19914-1 + LLVM 12 rebuild

Added:
  intel-compute-runtime/trunk/010-intel-compute-runtime-fix-build.patch
Modified:
  intel-compute-runtime/trunk/PKGBUILD

-------------------------------------------+
 010-intel-compute-runtime-fix-build.patch |   12 ++++++++++++
 PKGBUILD                                  |   12 +++++++++---
 2 files changed, 21 insertions(+), 3 deletions(-)

Added: 010-intel-compute-runtime-fix-build.patch
===================================================================
--- 010-intel-compute-runtime-fix-build.patch	                        (rev 0)
+++ 010-intel-compute-runtime-fix-build.patch	2021-05-30 15:09:52 UTC (rev 950397)
@@ -0,0 +1,12 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -835,9 +835,6 @@ if(NOT MSVC)
+       set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-noexcept-type") # Added for gtest
+     endif()
+   endif()
+-  if(NOT WDDM_LINUX)
+-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+-  endif()
+   if(USE_SANITIZE_UB)
+     check_cxx_compiler_flag(-fsanitize=undefined COMPILER_SUPPORTS_UNDEFINED_BEHAVIOR_SANITIZER)
+     if(COMPILER_SUPPORTS_UNDEFINED_BEHAVIOR_SANITIZER)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-30 15:06:41 UTC (rev 950396)
+++ PKGBUILD	2021-05-30 15:09:52 UTC (rev 950397)
@@ -2,7 +2,7 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=intel-compute-runtime
-pkgver=20.48.18558
+pkgver=21.21.19914
 pkgrel=1
 pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver"
 arch=(x86_64)
@@ -13,9 +13,15 @@
 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=('5736a65b81089d1f013ceda8d864b6ec7d8c92f36a475d46ca9e309bbd5979e6')
+source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        010-intel-compute-runtime-fix-build.patch)
+sha256sums=('a9573af507a5482cf27672a636f04b4329e36fabc72e1c0a0fe686832c4f95d7'
+            '1fe3bd33b964811309fd86ddb426767a1247dd382f6d5c577f58b3a114f5577b')
 
+prepare() {
+  patch -d compute-runtime-${pkgver} -Np1 -i "${srcdir}"/010-intel-compute-runtime-fix-build.patch
+}
+
 build() {
   cmake -B build -S compute-runtime-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \



More information about the arch-commits mailing list