Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280804 - Only build binary packages if compile time is significant
Summary: Only build binary packages if compile time is significant
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-08 19:33 UTC by Luke-Jr
Modified: 2024-01-14 05:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2009-08-08 19:33:12 UTC
[14:28:31] <Luke-Jr> just a quick idea-- it would be neat if I could build binpkgs iff src_configure+src_compile+src_install take over 2 minutes or such ;)
[14:29:53] <zmedico> Luke-Jr: that's pretty easy to do. you can file a feature request bug for it
[14:30:24] <Luke-Jr> zmedico: really? I can't even imagine what format the config for it would be ;)
[14:30:51] <zmedico> just a variable containing HH:MM:SS
[14:31:15] <Luke-Jr> or even just seconds, but I mean configuring which steps are factored in ;)
[14:31:50] <Luke-Jr> on second thought, ideal would be comparing src_unpack..src_install with the time to build the binpkg
[14:32:18] <Luke-Jr> if building the binpkg + 1 minute takes longer than building from scratch, then delete the binpkg
[14:32:21] <zmedico> I'd say it should just count all phases up to and including src_install
[14:32:45] <Luke-Jr> zmedico: *-sources easily take over 5 minutes to install, just due to IO
[14:32:53] <Luke-Jr> yet binpkgs won't help them much
[14:33:04] <zmedico> maybe exclude src_unpack then