[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Faster build/check times

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 15 Apr 2012 08:33:48 +0300

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
Received on 2012-04-15 07:34:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.