Rebuild packages against LLVM 17

This commit is contained in:
Martchus 2024-03-04 00:19:26 +01:00
parent 43574d3bb6
commit 20ad1ad7dd
3 changed files with 7 additions and 6 deletions

View File

@ -6,7 +6,7 @@
pkgname=static-compat-qt6-tools
_qtver=6.6.2
pkgver=${_qtver/-/}
pkgrel=1
pkgrel=2
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@ -52,6 +52,7 @@ build() {
ln -frs --target-directory=prefix/lib/cmake /usr/lib/cmake/clang
ln -frs --target-directory=prefix/lib /usr/lib/*LLVM*
ln -frs --target-directory=prefix/lib /usr/lib/libLTO*
ln -frs --target-directory=prefix/lib /usr/lib/libllvm*
ln -frs --target-directory=prefix/lib /usr/lib/libRemarks*
ln -frs --target-directory=prefix/lib /usr/lib/libclang*
ln -frs --target-directory=prefix/lib /usr/lib/clang
@ -70,7 +71,7 @@ build() {
-DLLVM_DIR="$PWD/prefix/lib/cmake/llvm" \
-DClang_DIR="$PWD/prefix/lib/cmake/clang"
# ensure system libc/libdl/libm is present on the linker-line before other libs
sed -i -E 's|(LINK_LIBRARIES = )(.*libLLVM-16.so.*)|\1/usr/lib/libpthread.so.0 /usr/lib/libm.so.6 /usr/lib/libmvec.so.1 /usr/lib/libdl.so.2 /usr/lib/libc.so.6 \2|g' build/build.ninja
sed -i -E 's|(LINK_LIBRARIES = )(.*libLLVM-17.so.*)|\1/usr/lib/libpthread.so.0 /usr/lib/libm.so.6 /usr/lib/libmvec.so.1 /usr/lib/libdl.so.2 /usr/lib/libc.so.6 \2|g' build/build.ninja
VERBOSE=1 cmake --build build
}

View File

@ -4,10 +4,10 @@
# you also find the URL of a binary repository.
_reponame=reflective-rapidjson
_llvmver=16
_llvmver=17
pkgname=reflective-rapidjson
pkgver=0.0.15
pkgrel=10
pkgrel=11
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON'
license=('GPL')

View File

@ -4,11 +4,11 @@
# you also find the URL of a binary repository.
_reponame=reflective-rapidjson
_llvmver=16
_llvmver=17
pkgname=reflective-rapidjson-git
_name=${pkgname%-git}
pkgver=254.1ea5b1e
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON'
license=('GPL')