[arch-commits] Commit in ispc/repos (2 files)

Bruno Pagani archange at archlinux.org
Sat Oct 5 15:13:22 UTC 2019


    Date: Saturday, October 5, 2019 @ 15:13:22
  Author: archange
Revision: 512939

archrelease: copy trunk to community-staging-x86_64

Added:
  ispc/repos/community-staging-x86_64/
  ispc/repos/community-staging-x86_64/PKGBUILD
    (from rev 512938, ispc/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: ispc/repos/community-staging-x86_64/PKGBUILD (from rev 512938, ispc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-05 15:13:22 UTC (rev 512939)
@@ -0,0 +1,39 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=ispc
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="A 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)
+source=("https://github.com/ispc/ispc/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('9ebc29adcdf477659b45155d0f91e61120a12084e42113d0e9f4ce5cfdfbdcab')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DISPC_INCLUDE_EXAMPLES=OFF \
+    -DISPC_NO_DUMPS=ON 
+  make
+}
+
+check() {
+  cd build
+  make check-all
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+  cd ../${pkgname}-${pkgver}
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list