Daniel Shahaf <d...@daniel.shahaf.name> writes: > Trying to enumerate ways to reduce build times. > > Faster builds: > - export CONFIG_SHELL=/bin/sh (minimal sh preferred) > - out-of-tree build (i.e., run 'configure' in an empty dir), with the build > tree in a tmpfs > - disable unneeded components (eg, swig, bdb) when they're not needed > - pass '-q' to configure, '-s' to make > - pass '-C' to configure > - pass '-j' or '-j[number]' to make > - use cpuset(1)/taskset(1) to bind make to N-1 CPUs
- build against installed dependencies rather than in-tree dependencies - don't build both static and shared libraries: pass either --disable-static or --disable-shared to configure. > Faster checks: > - PARALLEL=1 > - CLEANUP="" (and rm -rf svn-test-work/ before the build) > - put svn-test-work/ in a tmpfs > - SET_LOG_LEVEL=WARN (or ERROR) - set TMPDIR to the tmpfs filesystem if /tmp is not already a tmpfs filesystem. - don't enable SELinux at boot. -- uberSVN: Apache Subversion Made Easy http://www.uberSVN.com