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

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)

What else?


Thanks,

Daniel

Reply via email to