Re:Make Ubuntu packages 90% faster by rebuilding them
by eru on Wednesday March 19, 2025 @02:14AM
(#43408715)
Nice, I'll try them out!
LTO is great, but I have my doubts about -O3 (vs the more conservative -O2).
UPDATE: bah, ALHP repos don't support the nvidia drivers. And I don't want to muck around with setting everything up again.
Another update: I moved to nvidia-open, so now I can try the suggested repos.
Re:Make Ubuntu packages 90% faster by rebuilding them
by alessandroberna on Wednesday March 19, 2025 @03:35AM
(#43409143)
You should be able to use the regular arch repos as a fallback (and even repos from alhp with a lower feature level https://somegit.dev/ALHP/ALHP.GO/issues/255#issuecomment-333...)
doing this should allow you to use as many optimized packages as possible while still being able to install packages not supported by the alhp
These are the Arch packages built for x86-64-v2, x86-64-v3 and x86-64-v4, which are basically names for different sets of x86-64 extensions. Selecting the highest level supported by your processor should get you most of the way to -march=native, without the hassle of compiling it yourself.
It also enables -O3 and LTO for all packages.
[1]: https://github.com/an0nfunc/ALHP