Package Details: makepkg-optimize 21-1

Git Clone URL: https://aur.archlinux.org/makepkg-optimize.git (read-only, click to copy)
Package Base: makepkg-optimize
Description: Supplemental build and packaging optimizations for makepkg
Upstream URL: https://wiki.archlinux.org/index.php/Makepkg-optimize
Licenses: GPL
Submitter: quequotion
Maintainer: quequotion
Last Packager: quequotion
Votes: 17
Popularity: 0.001079
First Submitted: 2016-03-20 15:08 (UTC)
Last Updated: 2022-01-09 15:05 (UTC)

Dependencies (6)

Required by (0)

Sources (20)

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!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7

wolf commented on 2016-06-30 12:36 (UTC)

> Neither would be necessary, were my proposal to pacman-dev approved what as the reason it was not approved? I went throught the mailing list and saw no response to your patch. Did you get back any feedback at all? It sounds pretty useful.

quequotion commented on 2016-04-01 06:29 (UTC)

For now, makepkg-optimize installs an alternative script and configuration file. Neither would be necessary, were my proposal to pacman-dev approved: https://lists.archlinux.org/pipermail/pacman-dev/2016-March/020960.html

quequotion commented on 2016-03-22 15:23 (UTC)

>DeadMetaler Edit makepkg-optmize.conf, add lto to BUILDENV=(........)

DeadMetaler commented on 2016-03-21 23:20 (UTC) (edited on 2016-03-22 08:34 (UTC) by DeadMetaler)

How to use lto for any package?

quequotion commented on 2016-03-20 21:26 (UTC) (edited on 2016-03-20 21:26 (UTC) by quequotion)

>checksums I cheated, it's true. Must remember to always update pkgsums and then scrinfo before add/commit/push. >type-o How'd that happen?! >xz This is a little complicated. Is the threading implementation actually implemented now? or is the option still a place holder? Either way, all available cores is said to be the default. As for the compression, I might go with "--best -e" because I have the CPU for it, but maybe just "--best" for the package release--that will probably inflate tiny packages though. Also, the problems with makepkg-optimize.conf are a temporary concern. Once the next pacman release rolls out, I will change this to copy makepkg.conf from the user's own original. The current file represents some of my own settings.

FadeMind commented on 2016-03-20 20:09 (UTC) (edited on 2016-03-20 20:10 (UTC) by FadeMind)

And one more: COMPRESSXZ=(xz -T 0 -7 -c -z -) using all cores and it is high level compression for xz instead of default COMPRESSXZ=(xz -c -z -) In line 25 is typo #-- The the package required by makepkg to download VCS sources Simple double the at begin line in makepkg.conf file code.

FadeMind commented on 2016-03-20 19:54 (UTC)

checksums are not corrected. FIXED sha512sums=('67fb9359cd5dc52413ad2ca7e91b445826d7cf6b7ad3db0d2b3845310ab0bdfc41c2e70cec564e26269521ac313f7202c44996a24266380e48e88927bd1012e2' 'b4896082fd7fc4a69abc5fc98bf22c92a94cef9ccae5d3e5d1825cd3f04dcff1bce622a3f7fdc00bd43b5e1d091825d119b3a91d354f1ab58e6a8fe3af72b0e2' 'e8d9112c8ff66136451d2746a91c2c43083541322ca5430a0bc6bf03e65ace5ff00296ffea4582075a325d02ddf1d880483025d1fcfba2ce749e12d6418b413b' '3b88f57cd26efbab719e6a3c2a3f49f786c919cd85c8d9d89ef724d1d0a37287f499a729c340c032ed8d4f6f581d2ddb7d417c0ae9195ae6683f4906edfa6da5' '7c54d9c425ec6b6baf8ff4cd1580c6235fe01a612959bc5ae86eafaf9923e45039b8c303e2fcea113b65183ffd00fa06caf5e578f7fab146e02da3e926423e54' 'db55e9d4302035447854ec34d44d454a1a68882437129c00de388f56413cff71e133848df5a09962c40f2bd0203f5e5c692af4e100e67072da4b504ef4752ca4' '60ca209609ddbf617e63c7103d675da17671efc91db066a1e11dd1df78f9c8abf267f1cd417ff3b5db59411cf6e7df134e6bd8b06c73442410f14c13b1f5dd53' '16c2b0e666234f1a493e7456f4c387fbabd24b10514c93fa4338520e8f537e9a12de0d833a6148fe871452d87f6e1b3454b2bde332b9ba4c4e7680616b7eeede' 'dd609146c46b36bf3b9d7ed81935b64708cc5a37210f39e54162c603f1cae2bc9d8110dec92d61939c63245549b0a4548b17a15f9746abdd64faa65421288a2e' 'cef2f8f3e82fa668c490f305bb01a344391958ca3f0be95da09e6008b30ecf996803dfda863a73e340c71937c7691d115bfe7e109c71d71eb65b5052bb179504' '6df2ac2133f72ac2f3533fa9e3cc9337849dd5afbba2fd66b5d4d8b0b65a892c04771ceb6407eac357755fef87ac940d7848ccad915c387e465ad46b1ed496a3' '9e04d88c43cc25d21854ffc536cf9fd682d150fed08440a44a60b4e67285c28163cb069182355e718b2a6b6df8d536d8b32dcaac76f04d346cd658850b46769d')