[arch-commits] Commit in ispc/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Oct 29 19:27:56 UTC 2020
Date: Thursday, October 29, 2020 @ 19:27:56
Author: archange
Revision: 736574
upgpkg: ispc 1.14.1-1
Don't enable Gen target for now per https://github.com/ispc/ispc/issues/1896
Modified:
ispc/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-29 19:14:56 UTC (rev 736573)
+++ PKGBUILD 2020-10-29 19:27:56 UTC (rev 736574)
@@ -2,24 +2,28 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=ispc
-pkgver=1.13.0
+pkgver=1.14.1
pkgrel=1
-pkgdesc="A compiler for high-performance SIMD programming on the CPU"
+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)
+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=('cc74c4c490ddf4e0a63f01948ec8d6eb575d85ab5932d30ca4ad01c0e8f079ce'
- 'f6a162b8b60e0a0d17526c4e70bf9bc681c0e16cfee2b8cde1d7f9a5a99b8e78')
+ 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
+ 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() {
@@ -26,7 +30,9 @@
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DISPC_INCLUDE_EXAMPLES=OFF \
- -DISPC_NO_DUMPS=ON
+ -DISPC_NO_DUMPS=ON #\
+# -DGENX_ENABLED=ON \
+# -DGENX_DEPS_DIR=/usr
make -C build
}
More information about the arch-commits
mailing list