[arch-commits] Commit in openmp/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, December 16, 2018 @ 16:04:08 Author: foutrelis Revision: 342412 archrelease: copy trunk to testing-x86_64 Added: openmp/repos/testing-x86_64/ openmp/repos/testing-x86_64/PKGBUILD (from rev 342411, openmp/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: openmp/repos/testing-x86_64/PKGBUILD (from rev 342411, openmp/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-12-16 16:04:08 UTC (rev 342412) @@ -0,0 +1,43 @@ +# Maintainer: Evangelos Foutras + +pkgname=openmp +pkgver=7.0.1 +pkgrel=1 +pkgdesc="LLVM OpenMP Runtime Library" +arch=('x86_64') +url="http://openmp.llvm.org/"; +license=('custom:University of Illinois/NCSA Open Source License') +depends=('glibc' 'libelf' 'libffi') +makedepends=('cmake' 'ninja') +source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('bf16b78a678da67d68405214ec7ee59d86a15f599855806192a75dcfca9b0d0c' +'SKIP') +validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard + +prepare() { + cd "$pkgname-$pkgver.src" + mkdir build +} + +build() { + cd "$pkgname-$pkgver.src/build" + + cmake .. -G Ninja \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr + ninja +} + +package() { + cd "$pkgname-$pkgver.src/build" + + DESTDIR="$pkgdir" ninja install + install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # libgomp.so is also provided by gcc-libs; remove it to fix the conflict + rm "$pkgdir/usr/lib/libgomp.so" + +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in openmp/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:32:59 Author: foutrelis Revision: 328089 archrelease: copy trunk to testing-x86_64 Added: openmp/repos/testing-x86_64/ openmp/repos/testing-x86_64/PKGBUILD (from rev 328088, openmp/trunk/PKGBUILD) --+ PKGBUILD | 44 1 file changed, 44 insertions(+) Copied: openmp/repos/testing-x86_64/PKGBUILD (from rev 328088, openmp/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-07-08 16:32:59 UTC (rev 328089) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Evangelos Foutras + +pkgname=openmp +pkgver=6.0.1 +pkgrel=1 +pkgdesc="LLVM OpenMP Runtime Library" +arch=('x86_64') +url="http://openmp.llvm.org/"; +license=('custom:University of Illinois/NCSA Open Source License') +depends=('glibc' 'libelf' 'libffi') +makedepends=('cmake' 'ninja') +source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('66afca2b308351b180136cf899a3b22865af1a775efaf74dc8a10c96d4721c5a' +'SKIP') +validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard + +prepare() { + cd "$pkgname-$pkgver.src" + mkdir build +} + +build() { + cd "$pkgname-$pkgver.src/build" + + cmake .. -G Ninja \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr + ninja +} + +package() { + cd "$pkgname-$pkgver.src/build" + + DESTDIR="$pkgdir" ninja install + install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # libgomp.so is also provided by gcc-libs; remove it to fix the conflict + rm "$pkgdir/usr/lib/libgomp.so" + +} + +# vim:set ts=2 sw=2 et: