Package Details: makepkg-optimize 18-4

Git Clone URL: (read-only, click to copy)
Package Base: makepkg-optimize
Description: Supplemental build and packaging optimizations for makepkg
Upstream URL:
Licenses: GPL
Submitter: quequotion
Maintainer: quequotion
Last Packager: quequotion
Votes: 13
Popularity: 0.44
First Submitted: 2016-03-20 15:08
Last Updated: 2020-07-05 15:36

Pinned Comments

quequotion commented on 2019-02-27 07:49

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, link time 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

wolf commented on 2016-06-30 12:36

> 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

For now, makepkg-optimize installs an alternative script and configuration file.

Neither would be necessary, were my proposal to pacman-dev approved:

quequotion commented on 2016-03-22 15:23

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

DeadMetaler commented on 2016-03-21 23:20

How to use lto for any package?

quequotion commented on 2016-03-20 21:26

I cheated, it's true. Must remember to always update pkgsums and then scrinfo before add/commit/push.

How'd that happen?!

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

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

checksums are not corrected.