[arch-commits] Commit in compiler-rt/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 15 01:22:22 UTC 2021


    Date: Wednesday, December 15, 2021 @ 01:22:21
  Author: foutrelis
Revision: 432536

archrelease: copy trunk to extra-x86_64

Added:
  compiler-rt/repos/extra-x86_64/PKGBUILD
    (from rev 432535, compiler-rt/trunk/PKGBUILD)
Deleted:
  compiler-rt/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   93 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 45 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-15 01:22:17 UTC (rev 432535)
+++ PKGBUILD	2021-12-15 01:22:21 UTC (rev 432536)
@@ -1,48 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
-
-pkgname=compiler-rt
-pkgver=13.0.0
-pkgrel=1
-pkgdesc="Compiler runtime libraries for clang"
-arch=('x86_64')
-url="https://compiler-rt.llvm.org/"
-license=('custom:Apache 2.0 with LLVM Exception')
-depends=('gcc-libs')
-makedepends=('llvm' 'cmake' 'ninja' 'python')
-# Build 32-bit compiler-rt libraries on x86_64 (FS#41911)
-makedepends_x86_64=('lib32-gcc-libs')
-options=('staticlibs')
-_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
-source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig})
-sha256sums=('4c3602d76c7868a96b30c36165c4b7643e2a20173fced7e071b4baeb2d74db3f'
-            'SKIP')
-validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
-validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar at redhat.com>
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver.src"
-  mkdir build
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver.src/build"
-
-  cmake .. -G Ninja \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  ninja
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver.src/build"
-
-  DESTDIR="$pkgdir" ninja install
-  install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  mkdir -p "$pkgdir"/usr/lib/clang/$pkgver/{lib,share}
-  mv "$pkgdir"/usr/lib/{linux,clang/$pkgver/lib/}
-  mv "$pkgdir"/usr/{share/*.txt,lib/clang/$pkgver/share/}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: compiler-rt/repos/extra-x86_64/PKGBUILD (from rev 432535, compiler-rt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-15 01:22:21 UTC (rev 432536)
@@ -0,0 +1,45 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+pkgname=compiler-rt
+pkgver=13.0.0
+pkgrel=2
+pkgdesc="Compiler runtime libraries for clang"
+arch=('x86_64')
+url="https://compiler-rt.llvm.org/"
+license=('custom:Apache 2.0 with LLVM Exception')
+depends=('gcc-libs')
+makedepends=('llvm' 'cmake' 'ninja' 'python')
+# Build 32-bit compiler-rt libraries on x86_64 (FS#41911)
+makedepends_x86_64=('lib32-gcc-libs')
+options=('staticlibs')
+_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
+source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig})
+sha256sums=('4c3602d76c7868a96b30c36165c4b7643e2a20173fced7e071b4baeb2d74db3f'
+            'SKIP')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
+validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar at redhat.com>
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver.src"
+  mkdir build
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver.src/build"
+
+  cmake .. -G Ninja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/$pkgver
+  ninja
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver.src/build"
+
+  DESTDIR="$pkgdir" ninja install
+  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