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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 18:46:50 UTC 2015


    Date: Saturday, December 5, 2015 @ 19:46:50
  Author: bpiotrowski
Revision: 148676

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ispc/repos/community-staging-i686/
  ispc/repos/community-staging-i686/PKGBUILD
    (from rev 148675, ispc/trunk/PKGBUILD)
  ispc/repos/community-staging-i686/ispc-1.8.2-llvm-3.7.patch.gz
    (from rev 148675, ispc/trunk/ispc-1.8.2-llvm-3.7.patch.gz)
  ispc/repos/community-staging-x86_64/
  ispc/repos/community-staging-x86_64/PKGBUILD
    (from rev 148675, ispc/trunk/PKGBUILD)
  ispc/repos/community-staging-x86_64/ispc-1.8.2-llvm-3.7.patch.gz
    (from rev 148675, ispc/trunk/ispc-1.8.2-llvm-3.7.patch.gz)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   39 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   39 ++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: ispc/repos/community-staging-i686/PKGBUILD (from rev 148675, ispc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-05 18:46:50 UTC (rev 148676)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=ispc
+pkgver=1.8.2
+pkgrel=3
+pkgdesc="A compiler for high-performance SIMD programming on the CPU"
+arch=('i686' 'x86_64')
+url="https://ispc.github.io/"
+license=('BSD')
+depends=('zlib')
+makedepends=('llvm' 'clang' 'python2')
+source=("$pkgname-${pkgver}.tar.gz::https://github.com/ispc/ispc/archive/v${pkgver}.tar.gz"
+        "ispc-1.8.2-llvm-3.7.patch.gz")
+md5sums=('ef99fb9e5fe5ca59d429ea8d0e6affd0'
+         '44fc2588209fafe8efee71c482a282cc')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # fix python version
+  find . -name "*.py" -exec sed -i 's|python$|python2|' '{}' ';'
+  sed -i 's|python |python2 |' Makefile
+  # fix build with llvm 3.7
+  # https://github.com/ispc/ispc/issues/1106#issuecomment-149623230
+  patch -Np1 -i ../ispc-1.8.2-llvm-3.7.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  install -D -m755 ispc "$pkgdir/usr/bin/ispc"
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+

Copied: ispc/repos/community-staging-i686/ispc-1.8.2-llvm-3.7.patch.gz (from rev 148675, ispc/trunk/ispc-1.8.2-llvm-3.7.patch.gz)
===================================================================
(Binary files differ)

Copied: ispc/repos/community-staging-x86_64/PKGBUILD (from rev 148675, ispc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-05 18:46:50 UTC (rev 148676)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=ispc
+pkgver=1.8.2
+pkgrel=3
+pkgdesc="A compiler for high-performance SIMD programming on the CPU"
+arch=('i686' 'x86_64')
+url="https://ispc.github.io/"
+license=('BSD')
+depends=('zlib')
+makedepends=('llvm' 'clang' 'python2')
+source=("$pkgname-${pkgver}.tar.gz::https://github.com/ispc/ispc/archive/v${pkgver}.tar.gz"
+        "ispc-1.8.2-llvm-3.7.patch.gz")
+md5sums=('ef99fb9e5fe5ca59d429ea8d0e6affd0'
+         '44fc2588209fafe8efee71c482a282cc')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # fix python version
+  find . -name "*.py" -exec sed -i 's|python$|python2|' '{}' ';'
+  sed -i 's|python |python2 |' Makefile
+  # fix build with llvm 3.7
+  # https://github.com/ispc/ispc/issues/1106#issuecomment-149623230
+  patch -Np1 -i ../ispc-1.8.2-llvm-3.7.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  install -D -m755 ispc "$pkgdir/usr/bin/ispc"
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+

Copied: ispc/repos/community-staging-x86_64/ispc-1.8.2-llvm-3.7.patch.gz (from rev 148675, ispc/trunk/ispc-1.8.2-llvm-3.7.patch.gz)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list