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

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:05:53
  Author: foutrelis
Revision: 449341

upgpkg: clang13 13.0.1-3: move libclang-cpp.so.13 to /usr/lib/

Modified:
  clang13/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:49:53 UTC (rev 449340)
+++ PKGBUILD2022-06-22 22:05:53 UTC (rev 449341)
@@ -3,7 +3,7 @@
 
 pkgname=clang13
 pkgver=13.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="C language family frontend for LLVM 13"
 arch=('x86_64')
 url="https://clang.llvm.org/;
@@ -98,6 +98,9 @@
 
   DESTDIR="$pkgdir" ninja install-distribution
   install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  mv "$pkgdir"/usr/lib/{llvm13/lib/,}libclang-cpp.so.13
+  ln -s ../../libclang-cpp.so.13 
"$pkgdir/usr/lib/llvm13/lib/libclang-cpp.so.13"
 }
 
 # vim:set ts=2 sw=2 et:



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

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 06:01:46
  Author: foutrelis
Revision: 449282

upgpkg: clang13 13.0.1-2: avoid shadowing libclang 14

clang 14 ships libclang.so.13 because the ABI remained stable, but this
is kinda annoying because clang13's copy can get loaded instead. :\

Modified:
  clang13/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 05:40:46 UTC (rev 449281)
+++ PKGBUILD2022-06-22 06:01:46 UTC (rev 449282)
@@ -3,7 +3,7 @@
 
 pkgname=clang13
 pkgver=13.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="C language family frontend for LLVM 13"
 arch=('x86_64')
 url="https://clang.llvm.org/;
@@ -37,9 +37,14 @@
 continue
 ;;
   # trim static analyzer and other bits
-  bash-autocomplete|clang-format|clang-rename|scan-*)
+  bash-autocomplete|clang-format|clang-rename|hmaptool|scan-*)
 continue
 ;;
+  # avoid shadowing libclang.so.13 from clang 14
+  # 
https://github.com/llvm/llvm-project/issues/53684#issuecomment-1162669770
+  libclang|c-index-test)
+continue
+;;
   clang|clang-*)
 ;;
   clang*|findAllSymbols)