On Wed, 1 Dec 2010, Douglas Hubler wrote: > * Use mock utility now instead of installing rpms after building. > Cannot say how amazing this tool is (thank you Russ H.!), almost as > amazing as it is slow the first time you warm the yum cache. mock is > also invaluable to testing rpm specs and dependencies before > production installation. Unfortunately rpm builds are order of > magnitude slower, but the benefits are worth it.
Usually a local 'lookaside cache' is added as a first step when buildsystem speed gets important. Other approaches outside of 'mock' for setting up a reliable and known buildroot even faster. [We use a 'distcc' farm for compiles on a different product, at -j8, locally cutting times by a factor of to perhaps a quarter of a simple -j2 compile -- some link time loss when it has to go single thread, but not much] But buildlogic refactoring with a 4:1 reduction in bulk alone is worth the pain of getting there as it should greatly enhance maintainability Relative paths to intermediate build libdir's will permit a Makefile get to to a make test without root [root being needed for a formal install in the usual case], again a win Great news, Douglas thanks -- Russ herrold _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
