[arch-commits] Commit in openmp/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Mar 28 11:19:21 UTC 2017


    Date: Tuesday, March 28, 2017 @ 11:19:20
  Author: foutrelis
Revision: 291750

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

Added:
  openmp/repos/staging-i686/
  openmp/repos/staging-i686/PKGBUILD
    (from rev 291749, openmp/trunk/PKGBUILD)
  openmp/repos/staging-x86_64/
  openmp/repos/staging-x86_64/PKGBUILD
    (from rev 291749, openmp/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: openmp/repos/staging-i686/PKGBUILD (from rev 291749, openmp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-28 11:19:20 UTC (rev 291750)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=openmp
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="LLVM OpenMP Runtime Library"
+arch=('i686' 'x86_64')
+url="http://openmp.llvm.org/"
+license=('custom:University of Illinois/NCSA Open Source License')
+depends=('glibc')
+makedepends=('cmake')
+source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig})
+sha256sums=('db55d85a7bb289804dc42fc5c8e35ca24dfc3885782261b675a194fd7e206e26'
+            'SKIP')
+validpgpkeys=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D')
+
+prepare() {
+	cd "$pkgname-$pkgver.src"
+	mkdir build
+}
+
+build() {
+	cd "$pkgname-$pkgver.src/build"
+
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    ..
+	make
+}
+
+package() {
+  cd "$pkgname-$pkgver.src"
+
+  make -C build DESTDIR="$pkgdir" install
+
+  # libgomp.so is also provided by gcc-libs; remove it to fix the conflict
+  rm "$pkgdir/usr/lib/libgomp.so"
+
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: openmp/repos/staging-x86_64/PKGBUILD (from rev 291749, openmp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-28 11:19:20 UTC (rev 291750)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=openmp
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="LLVM OpenMP Runtime Library"
+arch=('i686' 'x86_64')
+url="http://openmp.llvm.org/"
+license=('custom:University of Illinois/NCSA Open Source License')
+depends=('glibc')
+makedepends=('cmake')
+source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig})
+sha256sums=('db55d85a7bb289804dc42fc5c8e35ca24dfc3885782261b675a194fd7e206e26'
+            'SKIP')
+validpgpkeys=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D')
+
+prepare() {
+	cd "$pkgname-$pkgver.src"
+	mkdir build
+}
+
+build() {
+	cd "$pkgname-$pkgver.src/build"
+
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    ..
+	make
+}
+
+package() {
+  cd "$pkgname-$pkgver.src"
+
+  make -C build DESTDIR="$pkgdir" install
+
+  # libgomp.so is also provided by gcc-libs; remove it to fix the conflict
+  rm "$pkgdir/usr/lib/libgomp.so"
+
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list