FS#24892 - [makepkg] - add support for pump (part of distcc)
Attached to Project:
Pacman
Opened by John (graysky) - Sunday, 26 June 2011, 08:56 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 30 August 2011, 19:05 GMT
Opened by John (graysky) - Sunday, 26 June 2011, 08:56 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 30 August 2011, 19:05 GMT
|
Details
Add support for distcc's pump script into makepkg. Since
version 3, pump sends header files to the remote machines,
so that preprocessing is distributed too. In many cases,
this leads to significant speed increases.
Some benchmarks (quite amazing): http://distcc.googlecode.com/svn/trunk/doc/web/benchmark.html |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 30 August 2011, 19:05 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments, KISS and do outside of makepkg.
Tuesday, 30 August 2011, 19:05 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments, KISS and do outside of makepkg.
Run eval $(/usr/bin/pump --startup) before the build function
Run /usr/bin/pump --shutdown after the build function
I tested this and have not encountered any problems so far.
Needs clarification:
- Assume pump mode is standard or introduce DISTCC_PUMP=1 variable (my preference) or even add an additional buildenv option?
(Pump mode has some extensive requirements, builds can fail or produce broken results if not met)
- Should it be implemented at all, given that one can simply set the distcc hosts list and run eval $(pump --startup) before invoking makepkg?
Please share your thoughts.
Is /usr/bin/pump even in the arch package? Not seeing it, looks like that needs to get enabled.
One can even run "pump makepkg [...]". The only obstacle would be exporting DISTCC_HOSTS which is normally done by makepkg (pump only starts with DISTCC_HOSTS set), although this could be easily achieved with sourcing makepkg.conf.
Given these circumstances I tend towards not implementing.