-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leon Brooks wrote: > On Wednesday 19 March 2003 04:16 pm, Gwenole Beauchesne wrote:
> > OK, how about a half-step towards Gentoo? Note of course, that optimisation is only one goal. Please consider other features also. > > If URPMI knows what architecture it's really running under, you could add a > new --optimi[sz]e switch to it so that... > > urpmi --optimise mjpegtools > > ...would download (if needed) or fetch from source CDs the appropriate > SRPM(s), install them, rebuild them for the correct CPU, and (if needed) > install the optimised RPMs over the top of the existing unoptimised > package(s). > > It would also be relatively straightforward to cache/log the names of packages > that had been optimised, to allow updates on same to be automagically > re-optimised. > Rather, any packages that had been built locally. > What would be truly magnificant would be a way to do this and cache the > results, so that the recompile need only be done once if the package is > destined for a flock of identical machines. > Well, you're building the RPM, chances are you would want to keep it (otherwise you wouldn't build an RPM). > Next project, of course, would be `urpmi --optimize-all' followed by a 2-day > pause while everything gets torn down, rebuilt and reinstalled. (-: And then we end up with some things being slower ... it should really only optimise those packages which are known to have some benefit from being optimised. Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+eJlzrJK6UGDSBKcRAmjqAKDISUwqQb+TS4NZeNdJj3Hl/CdufgCcDHFS vaNfg6n1tqUeLO9qBct8KoA= =I/OO -----END PGP SIGNATURE-----
