Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / llvm
Commits: de2e5eca by Evangelos Foutras at 2023-08-18T18:19:56+03:00 upgpkg: 16.0.6-1 - - - - - 2 changed files: - PKGBUILD - − llvm-config.h Changes: ===================================== PKGBUILD ===================================== @@ -2,24 +2,25 @@ # Contributor: Jan "heftig" Steffens <jan.steff...@gmail.com> pkgname=('llvm' 'llvm-libs') -pkgver=15.0.7 -pkgrel=3 +pkgver=16.0.6 +pkgrel=1 arch=('x86_64') url="https://llvm.org/" license=('custom:Apache 2.0 with LLVM Exception') makedepends=('cmake' 'ninja' 'zlib' 'zstd' 'libffi' 'libedit' 'ncurses' 'libxml2' 'python-setuptools' 'python-psutil' 'python-sphinx' 'python-recommonmark') -options=('staticlibs' '!lto') # Getting thousands of test failures with LTO +options=('staticlibs' '!lto') # https://github.com/llvm/llvm-project/issues/57740 _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig} $_source_base/cmake-$pkgver.src.tar.xz{,.sig} - llvm-config.h) -sha256sums=('4ad8b2cc8003c86d0078d15d987d84e3a739f24aae9033865c027abae93ee7a4' + $_source_base/third-party-$pkgver.src.tar.xz{,.sig}) +sha256sums=('e91db44d1b3bb1c33fcea9a7d1f2423b883eaa9163d3d56ca2aa6d2f0711bc29' 'SKIP' - '8986f29b634fdaa9862eedda78513969fe9788301c9f2d938f4c10a3e7a3e7ea' + '39d342a4161095d2f28fb1253e4585978ac50521117da666e2b1f6f28b62f514' 'SKIP' - '597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48') + '15f5b9aeeba938530af977d5f9205612737a091a7f0f6c8075df8723b7713f70' + 'SKIP') validpgpkeys=('474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstel...@redhat.com> 'D574BD5D1D0E98895E3BF90044F2485E45D59042') # Tobias Hieta <tob...@hieta.se> @@ -52,7 +53,7 @@ _get_distribution_components() { } prepare() { - mv cmake{-$pkgver.src,} + rename -v -- "-$pkgver.src" '' {cmake,third-party}-$pkgver.src cd llvm-$pkgver.src mkdir build } @@ -117,13 +118,6 @@ package_llvm() { mv -f "$pkgdir"/usr/lib/lib{LLVM,LTO,Remarks}*.so* "$srcdir" mv -f "$pkgdir"/usr/lib/LLVMgold.so "$srcdir" - if [[ $CARCH == x86_64 ]]; then - # Needed for multilib (https://bugs.archlinux.org/task/29951) - # Header stub is taken from Fedora - mv "$pkgdir/usr/include/llvm/Config/llvm-config"{,-64}.h - cp "$srcdir/llvm-config.h" "$pkgdir/usr/include/llvm/Config/llvm-config.h" - fi - # Remove documentation sources rm -r "$pkgdir"/usr/share/doc/llvm/html/{_sources,.buildinfo} ===================================== llvm-config.h deleted ===================================== @@ -1,9 +0,0 @@ -#include <bits/wordsize.h> - -#if __WORDSIZE == 32 -#include "llvm-config-32.h" -#elif __WORDSIZE == 64 -#include "llvm-config-64.h" -#else -#error "Unknown word size" -#endif View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/llvm/-/commit/de2e5eca3b91d3be3baff5f4310420dae9ad0944 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/llvm/-/commit/de2e5eca3b91d3be3baff5f4310420dae9ad0944 You're receiving this email because of your account on gitlab.archlinux.org.