During building you may encounter lots of coredumps, slowing build down or even dramatically reducing the responsiveness of your system.
See https://wiki.archlinux.org/title/Core_dump for solutions/workarounds .
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/llvm-minimal-git.git (read-only, click to copy) |
|---|---|
| Package Base: | llvm-minimal-git |
| Description: | Collection of modular and reusable compiler and toolchain technologies, trimmed down git version |
| Upstream URL: | https://llvm.org/ |
| Licenses: | Apache-2.0 WITH LLVM-exception |
| Conflicts: | llvm |
| Provides: | llvm |
| Submitter: | Lone_Wolf |
| Maintainer: | Lone_Wolf |
| Last Packager: | Lone_Wolf |
| Votes: | 6 |
| Popularity: | 0.087036 |
| First Submitted: | 2019-05-14 19:32 (UTC) |
| Last Updated: | 2025-05-10 11:10 (UTC) |
During building you may encounter lots of coredumps, slowing build down or even dramatically reducing the responsiveness of your system.
See https://wiki.archlinux.org/title/Core_dump for solutions/workarounds .
Archlinux currently has 3 llvm git implementations
this package
packages created & maintained by Lordheavy, an arch developer
Why does this package exist ?
Llvm & aur llvm-git are intended to provide a full development environment of llvm/clang suite that can replace eachother completely (aur llvm-git adds some xtra functionality)
llvm-minimal-git is a stripped-down llvm trunk build with these goals :
Some of the things that are stripped out :
Maintainers (and users) should only depend on llvm-miminal-git after verifying it satisfies what they need.
When building this you are likely to see test failures in terminal output / logs.
The command used for the tests has been changed to continue regardless of failures. Incase you don't want to run the tests you can use --nocheck option of makepkg.
Due to the aur being down that package was not findable.
Besides that the fix for this issue was only merged to rust-bindgen main 5 days ago.
For almost 3 weeks pinning the llvm version was the only available solution.
rust-bindgen 72.1 with the fix has been released and I flagged the archlinux repo version out-of-date .
For now a local rust-bindgen 72.1 package or rust-bindgen-git is best solution.
Better way for using mesa-git with latest llvm-git is by change dependencies to rust-git , rust-bindgen-git instead ...for me work greate for all ...and its future proof
https://github.com/llvm/llvm-project/commit/91cdd35008e9ab32dffb7e401cdd7313b3461892 breaks rust-bindgen and makes mesa-minimal-git build fail .
The last commit that works is fc44a4f , pin llvm-minimal-git on that commit if you aim to use it for mesa.
For more info follow https://gitlab.freedesktop.org/mesa/mesa/-/issues/13757
build the same commit of llvm-git & llvm-minimal-git , then try installing them again.
While pacman will allow it at first, i'd be very surprised if it didn't detect file conflicts and abort before finishing installing .
In case the 3rd pinned comment isn't clear enough
-D LLVM_ENABLE_PROJECTS="polly;lldb;lld;compiler-rt;clang-tools-extra;clang" \
-D LLVM_ENABLE_PROJECTS="clang-tools-extra;clang"
first line is from llvm-git , 2nd from llvm-minmal-git .
Just found out that this package can happily sit installed next to llvm-libs-git.
Don't the two packages provide the same thing?
no,you need install mesa-git and mesa-git's runtime if mesa-git is built with llvm-minimal-git,it will need llvm-libs-minimal-git as dependence
Oh, so mesa-git just need to be build with llvm-minimal-git, but at runtime it works well with stock llvm?
that is a possibilty, but the recommended method is to setup "clean chroot building" to separate runtime & build environments .
See https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
Got that. So this basically mean that if I want mesa-git on my machine I would probably need to replace the whole llvm suite to avoid issues?
I'll look into moving those files to clang-minimal-git which has a conflict with repo clang so pacman won't allow installing both .
I do think having repo clang & llvm-minimal-git installed together is a bad idea and can cause issues.
Also keep in mind that llvm-libs-minimal-git is the only part needed at runtime and customized to coexist with repo llvm-libs .