I apologize for the lack of updates.
I haven't really had time for FOSS in a while.
If I find some, I will add BOLT (llvm only?) and I need to revise the pgo routine, maybe revisit lto.
Somehow, the concept of using the same "pgo" flag for one profiling phase and then a second phase to apply optimizations keeps getting broken by changes in pacman's behavior.
Although lto is now standard, there are some more extreme options I would like to tack on.
As for upstream, your best bet would be my GitHub, but you will find the same files there. I understand things are not to be "AUR hosted", but this is all there ever was: a PKGBUILD and some scripts it wraps up.
Pinned Comments
quequotion commented on 2019-02-27 07:49 (UTC) (edited on 2022-01-09 13:20 (UTC) by quequotion)
makepkg-optimize is a collection of libmakepkg tidy, buildenv, and executable extensions, and a supplement to pacman. These enable various optimization routines for building and packaging such as upx compression, profile guided optimization, polyhedral model optimization, etc..
Note: Over-optimization is a thing, and it is not good.
See the wiki article for details.
Note to packagers: makepkg-optmize's macros may be enabled or disabled in options() as well!