






















@SteamedFish thanks for the feedback! added both clang and clang++ vars, also added clang as makedep.@alerque added the lto fix, aslo i've added a test build phase to make sure the build environment is clean from my local packages and it now builds succesfully anywhere. Thanks to both of you
@SteamedFish thanks for the feedback! added both clang and clang++ vars, also added clang as makedep.@alerque added the lto fix, aslo i've added a test build phase to make sure the build environment is clean from my local packages and it now builds succesfully anywhere. Thanks to both of you
This package fails to link with GCC (the default). Please add clang to makedepends and set the compiler in the build() function: export CC=clang CXX=clang++
Also, please add 'aarch64' to the arch array. I've verified it builds successfully on ARM64 with Clang (GCC fails with the same linking errors as on x86_64).
@arcpie Whether or not it builds for you is going to depend on your host system and a lot of other variables. You likely are not even building with LTO flags enabled at all. The only way to properly check if the packaging is correct or not is to build it in a chroot build environment with the default Arch build environment options, and it does not build in a chroot without the LTO fix. This is a well established problem affecting hundreds of Arch packages, official and AUR alike. You can see it in the PKGBUILD for many official packages
@alerque hmm it does build for me, i have a final tomorrow so i wont be able to look into it rn but tomorrow ill check it
Gah! Please stop the bot from pushing version bumps that don't even build. This package has the classic issue with the ring crate that won't compile with LTO enabled and needs CFLAGS+=' -ffat-lto-objects'.
@alerque thanks for the correction, I've created llmfit-bin and updated this package so it builds from source
This is either incorrectly packaged or incorrectly named. Please either repost this as llmfit-bin or fix the packaging to build from source following the Arch Packaging Guidelines for Rust builds.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@arcpie Please do not use
SKIPfor the checksum of a stable release package. Combined with the#pkgver=$pkgveras part of your source URL, Arch's tooling will in fact compute a stable checksum for Git based sources. Please useupdpkgsumsto fetch and set the current sum in the PKGBUILD thenmakepkg --printsrcinfo > .SRCINFOand get those changes published.Additionally if you add this file as
.nvchecker.tomlto the repo, users and yourself can usepkgctl version updateto bump the PKGBUILD to the current version on demand: