to day i wanted to try lto-thin but it seems clang doesn't work with graphite
clang-10: error: unknown argument: '-fgraphite-identity'
clang-10: error: unknown argument: '-floop-interchange'
clang-10: error: unknown argument: '-floop-nest-optimize'
clang-10: error: unknown argument: '-floop-parallelize-all'
clang-10: error: unknown argument: '-ftree-loop-distribution'
clang-10: error: unknown argument: '-ftree-parallelize-loops=2'
clang-10: error: unsupported argument 'auto' to option 'flto='
BUILDENV=(!distcc color !ccache check !sign lto-thin graphite !pgo)
[tom@donar compiz]$ pacman -Q clang
clang 10.0.0-3
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!