Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages /
wasi-compiler-rt
Commits:
e7570bc2 by Frederik Schwan at 2023-08-26T23:15:57+02:00
fix location of runtime version directory
As of llvm 16 the rt directory does not include the full version, but only the
major number.
fixes FS#79478
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=wasi-compiler-rt
pkgver=16.0.6
-pkgrel=1
+pkgrel=2
pkgdesc='WASI LLVM compiler runtime'
arch=('any')
url='https://compiler-rt.llvm.org/'
@@ -50,7 +50,7 @@ build() {
-DCOMPILER_RT_OS_DIR=wasi \
-DWASI_SDK_PREFIX=/usr \
-DCMAKE_C_FLAGS="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \
- -DCMAKE_INSTALL_PREFIX=/usr/lib/clang/${pkgver}/ \
+ -DCMAKE_INSTALL_PREFIX=/usr/lib/clang/${pkgver%%.*}/ \
compiler-rt-${pkgver}.src/lib/builtins
cmake --build build -v
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/wasi-compiler-rt/-/commit/e7570bc2f3675aa199420da539be90c2a939b7d9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/wasi-compiler-rt/-/commit/e7570bc2f3675aa199420da539be90c2a939b7d9
You're receiving this email because of your account on gitlab.archlinux.org.