1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
6 pkgdesc="LLVM OpenMP Runtime Library"
8 url="https://openmp.llvm.org/"
9 license=('custom:Apache 2.0 with LLVM Exception')
10 depends=('glibc' 'libelf' 'libffi')
11 makedepends=('llvm' 'clang' 'cmake' 'ninja')
12 options=('!lto') # https://bugzilla.redhat.com/show_bug.cgi?id=1988155
13 _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
14 source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig})
15 sha256sums=('6b79261371616c31fea18cd3ee1797c79ee38bcaf8417676d4fa366a24c96b4f'
17 validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
18 validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
21 cd "$pkgname-$pkgver.src"
26 cd "$pkgname-$pkgver.src/build"
29 -DCMAKE_BUILD_TYPE=Release \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DLIBOMP_INSTALL_ALIASES=OFF
36 cd "$pkgname-$pkgver.src/build"
38 DESTDIR="$pkgdir" ninja install
39 install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41 rm "$pkgdir/usr/lib/libarcher_static.a"
44 # vim:set ts=2 sw=2 et: