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

Re: Faster build/check times

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 16 Apr 2012 08:46:52 +0100

Daniel Shahaf <d.s_at_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
Received on 2012-04-16 09:47:30 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.