[arch-commits] Commit in ispc/repos/community-x86_64 (4 files)

Bruno Pagani archange at archlinux.org
Sat Dec 19 20:58:13 UTC 2020


    Date: Saturday, December 19, 2020 @ 20:58:13
  Author: archange
Revision: 780030

archrelease: copy trunk to community-x86_64

Added:
  ispc/repos/community-x86_64/PKGBUILD
    (from rev 780029, ispc/trunk/PKGBUILD)
  ispc/repos/community-x86_64/ispc-libclang-cpp.patch
    (from rev 780029, ispc/trunk/ispc-libclang-cpp.patch)
Deleted:
  ispc/repos/community-x86_64/PKGBUILD
  ispc/repos/community-x86_64/ispc-libclang-cpp.patch

-------------------------+
 PKGBUILD                |   88 +++++++++++++++++++++-------------------------
 ispc-libclang-cpp.patch |   22 +++++------
 2 files changed, 53 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-19 20:58:05 UTC (rev 780029)
+++ PKGBUILD	2020-12-19 20:58:13 UTC (rev 780030)
@@ -1,46 +0,0 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=ispc
-pkgver=1.14.1
-pkgrel=1
-pkgdesc="Compiler for high-performance SIMD programming on the CPU"
-arch=(x86_64)
-url="https://ispc.github.io/"
-license=(BSD)
-depends=(ncurses zlib llvm-libs clang)
-makedepends=(llvm python lib32-glibc cmake) # level-zero-headers level-zero-loader openmp spirv-llvm-translator vc-intrinsics)
-source=(https://github.com/ispc/ispc/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
-        ispc-libclang-cpp.patch
-        ispc-llvm11.patch::https://github.com/ispc/ispc/commit/3753974cc19a5c065abc693d5166072837d868f1.patch)
-sha256sums=('3a7ee9ab90b9e9932b7b4effc9bb3ef45ca271d60d9ec6bc8c335242b5ec097b'
-            'f6a162b8b60e0a0d17526c4e70bf9bc681c0e16cfee2b8cde1d7f9a5a99b8e78'
-            'a4c409ab92da556ffc475453417ba49a7009cf02c39479d88a186549c67b99fe')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -p1 -i ../ispc-libclang-cpp.patch # Build with unified libclang-cpp.so
-  # Remove tests that requires DUMPS (https://github.com/ispc/ispc/issues/1752)
-  sed -i '/debug-phase/d' tests/lit-tests/arg_parsing_errors.ispc
-  # https://github.com/ispc/ispc/pull/1863
-  patch -p1 -i ../ispc-llvm11.patch
-}
-
-build() {
-  cmake -B build -S ${pkgname}-${pkgver} \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DISPC_INCLUDE_EXAMPLES=OFF \
-    -DISPC_NO_DUMPS=ON #\
-#    -DGENX_ENABLED=ON \
-#    -DGENX_DEPS_DIR=/usr
-  make -C build
-}
-
-check() {
-  make -C build check-all
-}
-
-package() {
-  make -C build DESTDIR="${pkgdir}" install
-  install -Dm644 ${pkgname}-${pkgver}/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: ispc/repos/community-x86_64/PKGBUILD (from rev 780029, ispc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-19 20:58:13 UTC (rev 780030)
@@ -0,0 +1,42 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=ispc
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="Compiler for high-performance SIMD programming on the CPU"
+arch=(x86_64)
+url="https://ispc.github.io/"
+license=(BSD)
+depends=(ncurses zlib llvm-libs clang)
+makedepends=(llvm python lib32-glibc cmake) # level-zero-headers level-zero-loader openmp spirv-llvm-translator vc-intrinsics)
+source=(https://github.com/ispc/ispc/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        ispc-libclang-cpp.patch)
+sha256sums=('788f44abefa508644384307c9ea69ef311ce5d4cfcb513b89e56d08f04d0d4be'
+            'f6a162b8b60e0a0d17526c4e70bf9bc681c0e16cfee2b8cde1d7f9a5a99b8e78')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i ../ispc-libclang-cpp.patch # Build with unified libclang-cpp.so
+  # Remove tests that requires DUMPS (https://github.com/ispc/ispc/issues/1752)
+  sed -i '/debug-phase/d' tests/lit-tests/arg_parsing_errors.ispc
+}
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DISPC_INCLUDE_EXAMPLES=OFF \
+    -DISPC_NO_DUMPS=ON #\
+#    -DGENX_ENABLED=ON \
+#    -DGENX_DEPS_DIR=/usr
+  make -C build
+}
+
+check() {
+  make -C build check-all
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm644 ${pkgname}-${pkgver}/LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}

Deleted: ispc-libclang-cpp.patch
===================================================================
--- ispc-libclang-cpp.patch	2020-12-19 20:58:05 UTC (rev 780029)
+++ ispc-libclang-cpp.patch	2020-12-19 20:58:13 UTC (rev 780030)
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -209,7 +209,7 @@ if (WASM_ENABLED)
-     endif()
- endif()
- 
--set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
-+set(CLANG_LIBRARY_LIST clang-cpp)
- set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker option)
- 
- if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")

Copied: ispc/repos/community-x86_64/ispc-libclang-cpp.patch (from rev 780029, ispc/trunk/ispc-libclang-cpp.patch)
===================================================================
--- ispc-libclang-cpp.patch	                        (rev 0)
+++ ispc-libclang-cpp.patch	2020-12-19 20:58:13 UTC (rev 780030)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -209,7 +209,7 @@ if (WASM_ENABLED)
+     endif()
+ endif()
+ 
+-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
++set(CLANG_LIBRARY_LIST clang-cpp)
+ set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker option)
+ 
+ if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")



More information about the arch-commits mailing list