Talk:Makepkg-optimize

From ArchWiki
Jump to navigation Jump to search

Why are these options commented out?

First of all, I don't want to force anything on anyone. Secondly, as pointed out in Configuration's warning, not all optimizations are sane for all packages.

Although makepkg-optimize is intended to simplify enabling some complex optimization routines, users should make informed decisions about the optimizations they enable just as much as they should by any other means. I'd rather not have to explicitly say all of that in the article, and I don't think it is necessary to do so; the existing warning should be sufficient. quequotion (talk) 17:42, 24 October 2018 (UTC)

"Redundant" configuration file

It is not required to use the configuration file generated by makepkg-optimize; any of the supplementary options can be specified in the default configuration file. Providing a separate file allows me to ship inline documentation on the supplementary options, avoid modifying the config file that belongs to (and could be replaced by) pacman-gitAUR, and make a clear procedural distinction between building ordinary packages and building optimized packages.

If none of the supplementary options are specified in /etc/makepkg.conf, running makepkg without specifying a config file will build ordinary packages. As the warning states, some packages do not optimize well; specifying the makepkg-optimize config file to build an optimized package or no config file to build an ordinary package is more convenient than editing the configuration file for each build. quequotion (talk) 03:10, 28 November 2018 (UTC)

PROFDEST

Considering adding this somewhere on the page, but it is something that could reasonably be deduced. quequotion (talk) 16:28, 10 March 2019 (UTC)

Note: Like the other *DEST variables, the default location is the build directory. If you are building a package that requires a reboot to produce profiles, such as systemd, you should set this somewhere outside your home directory (which will not be available until login or after logout).