[arch-commits] Commit in openmp/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Oct 26 15:44:16 UTC 2016
Date: Wednesday, October 26, 2016 @ 15:44:15
Author: foutrelis
Revision: 279257
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
openmp/repos/staging-i686/
openmp/repos/staging-i686/PKGBUILD
(from rev 279256, openmp/trunk/PKGBUILD)
openmp/repos/staging-x86_64/
openmp/repos/staging-x86_64/PKGBUILD
(from rev 279256, openmp/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: openmp/repos/staging-i686/PKGBUILD (from rev 279256, openmp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-10-26 15:44:15 UTC (rev 279257)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=openmp
+pkgver=3.9.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=('df88f90d7e5b5e9525a35fa2e2b93cbbb83c4882f91df494e87ee3ceddacac91'
+ '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 279256, openmp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-10-26 15:44:15 UTC (rev 279257)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=openmp
+pkgver=3.9.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=('df88f90d7e5b5e9525a35fa2e2b93cbbb83c4882f91df494e87ee3ceddacac91'
+ '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