Rebuild packages against LLVM 17
This commit is contained in:
parent
43574d3bb6
commit
20ad1ad7dd
|
@ -6,7 +6,7 @@
|
||||||
pkgname=static-compat-qt6-tools
|
pkgname=static-compat-qt6-tools
|
||||||
_qtver=6.6.2
|
_qtver=6.6.2
|
||||||
pkgver=${_qtver/-/}
|
pkgver=${_qtver/-/}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://www.qt.io'
|
url='https://www.qt.io'
|
||||||
license=(GPL3 LGPL3 FDL custom)
|
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/cmake /usr/lib/cmake/clang
|
||||||
ln -frs --target-directory=prefix/lib /usr/lib/*LLVM*
|
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/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/libRemarks*
|
||||||
ln -frs --target-directory=prefix/lib /usr/lib/libclang*
|
ln -frs --target-directory=prefix/lib /usr/lib/libclang*
|
||||||
ln -frs --target-directory=prefix/lib /usr/lib/clang
|
ln -frs --target-directory=prefix/lib /usr/lib/clang
|
||||||
|
@ -70,7 +71,7 @@ build() {
|
||||||
-DLLVM_DIR="$PWD/prefix/lib/cmake/llvm" \
|
-DLLVM_DIR="$PWD/prefix/lib/cmake/llvm" \
|
||||||
-DClang_DIR="$PWD/prefix/lib/cmake/clang"
|
-DClang_DIR="$PWD/prefix/lib/cmake/clang"
|
||||||
# ensure system libc/libdl/libm is present on the linker-line before other libs
|
# 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
|
VERBOSE=1 cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
# you also find the URL of a binary repository.
|
# you also find the URL of a binary repository.
|
||||||
|
|
||||||
_reponame=reflective-rapidjson
|
_reponame=reflective-rapidjson
|
||||||
_llvmver=16
|
_llvmver=17
|
||||||
pkgname=reflective-rapidjson
|
pkgname=reflective-rapidjson
|
||||||
pkgver=0.0.15
|
pkgver=0.0.15
|
||||||
pkgrel=10
|
pkgrel=11
|
||||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
|
||||||
pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON'
|
pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
# you also find the URL of a binary repository.
|
# you also find the URL of a binary repository.
|
||||||
|
|
||||||
_reponame=reflective-rapidjson
|
_reponame=reflective-rapidjson
|
||||||
_llvmver=16
|
_llvmver=17
|
||||||
pkgname=reflective-rapidjson-git
|
pkgname=reflective-rapidjson-git
|
||||||
_name=${pkgname%-git}
|
_name=${pkgname%-git}
|
||||||
pkgver=254.1ea5b1e
|
pkgver=254.1ea5b1e
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
|
||||||
pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON'
|
pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
|
Loading…
Reference in New Issue