[arch-commits] Commit in ispc/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Mon Jun 27 10:42:01 UTC 2022


    Date: Monday, June 27, 2022 @ 10:42:01
  Author: archange
Revision: 1239639

LLVM14 rebuild

Modified:
  ispc/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 10:23:31 UTC (rev 1239638)
+++ PKGBUILD	2022-06-27 10:42:01 UTC (rev 1239639)
@@ -3,7 +3,7 @@
 
 pkgname=ispc
 pkgver=1.18.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Compiler for high-performance SIMD programming on the CPU"
 arch=(x86_64)
 url="https://ispc.github.io/"
@@ -18,10 +18,12 @@
 _gtestcommit=6a7ed316a5cdc07b6d26362c90770787513822d4
 source=(https://github.com/ispc/ispc/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
         googletest-${_gtestcommit}.zip::https://github.com/google/googletest/archive/${_gtestcommit}.zip
-        ispc-libclang-cpp.patch)
+        ispc-libclang-cpp.patch
+        ispc-llvm14.patch::https://github.com/ispc/ispc/pull/2335.patch)
 sha256sums=('81f2cc23b555c815faf53429e9eee37d1f2f16873ae7074e382ede94721ee042'
             '718cc64f6f563399a228fc439b6ea9cb58d062e66e5340b92ca0f26adecfaac5'
-            '51ae0943cbce2b3f29549c5fb262e8620ad5e171283a83255e15dac20c86bf9f')
+            '51ae0943cbce2b3f29549c5fb262e8620ad5e171283a83255e15dac20c86bf9f'
+            'dd1f1caa91c8d394f2753f2637af9980031507e6f4aa575154c92ab5f3ad4246')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -37,6 +39,8 @@
   sed -i 's|NOT EXISTS "${PROJECT_SOURCE_DIR}/ispcrt/tests/vendor/google/googletest/CMakeLists.txt"|FALSE|' ispcrt/tests/CMakeLists.txt
   # https://github.com/google/googletest/issues/3427
   sed -i 's/-Werror//' ispcrt/tests/vendor/google/googletest/googletest/cmake/internal_utils.cmake
+  # LLVM14 compat
+  patch -p1 < ../ispc-llvm14.patch
 }
 
 build() {



More information about the arch-commits mailing list