[arch-commits] Commit in llvm/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 29 13:11:50 UTC 2015


    Date: Tuesday, September 29, 2015 @ 15:11:50
  Author: foutrelis
Revision: 247891

upgpkg: llvm 3.7.0-4

- Keep LLVMHello.so; it's referenced in the CMake files (FS#46468).
- Move BugpointPasses.so from llvm-libs to the llvm package.

Modified:
  llvm/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-29 12:25:55 UTC (rev 247890)
+++ PKGBUILD	2015-09-29 13:11:50 UTC (rev 247891)
@@ -12,7 +12,7 @@
 pkgname=('llvm' 'llvm-libs' 'llvm-ocaml' 'lldb' 'clang' 'clang-analyzer'
          'clang-tools-extra')
 pkgver=3.7.0
-pkgrel=3
+pkgrel=4
 _ocaml_ver=4.02.3
 arch=('i686' 'x86_64')
 url="http://llvm.org/"
@@ -125,7 +125,7 @@
 
   # The runtime libraries go into llvm-libs
   mv -f "$pkgdir"/usr/lib/lib{LLVM,LTO}.so* "$srcdir"
-  mv -f "$pkgdir"/usr/lib/{LLVMgold,BugpointPasses}.so "$srcdir"
+  mv -f "$pkgdir"/usr/lib/LLVMgold.so "$srcdir"
 
   # OCaml bindings go to a separate package
   rm -rf "$srcdir"/ocaml.{lib,doc}
@@ -133,9 +133,6 @@
   mv "$pkgdir/usr/docs/ocaml/html" "$srcdir/ocaml.doc"
   rm -r "$pkgdir/usr/docs"
 
-  # Get rid of example Hello transformation
-  rm "$pkgdir"/usr/lib/*LLVMHello.*
-
   if [[ $CARCH == x86_64 ]]; then
     # Needed for multilib (https://bugs.archlinux.org/task/29951)
     # Header stub is taken from Fedora
@@ -154,7 +151,7 @@
   install -d "$pkgdir/usr/lib"
   cp -P \
     "$srcdir"/lib{LLVM,LTO}.so* \
-    "$srcdir"/{LLVMgold,BugpointPasses}.so \
+    "$srcdir"/LLVMgold.so \
     "$pkgdir/usr/lib/"
 
   # Symlink LLVMgold.so from /usr/lib/bfd-plugins



More information about the arch-commits mailing list