Differences between revisions 5 and 6
Revision 5 as of 2012-04-24 10:03:27
Size: 1421
Editor: DanielShahaf
Comment: update for r1329619
Revision 6 as of 2012-11-05 13:23:11
Size: 1472
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:

== test svg ==

<<EmbedObject(svg-test.svg)>>

Faster build times

  • use a minimal shell: export CONFIG_SHELL=/bin/sh

  • put the build tree in a tmpfs: cd tmpfs-mountpoint && /path/to/configure $ARGS

  • disable unneeded components: --without-berkeley-db --without-neon --without-serf --without-apxs --without-sasl  --without-swig --without-ctypesgen --disable-javahl --without-kwallet --without-gnome-keyring --without-libmagic --disable-nls (etc)

  • don't build tools: run make bin apache-mod check-deps instead of make

  • reduce output: pass '-q' to configure, '-s' to make

  • enable configure's cache: pass '-C' to configure

  • enable concurrency: pass '-j' or '-j[number]' to make

    • use cpuset(1)/taskset(1) to bind make to N-1 CPUs

  • dependencies: 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 check times

  • PARALLEL=1

  • CLEANUP="" (and empty svn-test-work/ before the build)

  • put svn-test-work/ in a tmpfs

  • reduce output: set SET_LOG_LEVEL=WARN, or disable verbose logging to tests.log

  • set $TMPDIR to the tmpfs filesystem

  • don't enable SELinux at boot.

dev@ threads

http://thread.gmane.org/20120415053348.GB20857@tarsus.local2

test svg

Embedded image/svg+xml

BuildNotes (last edited 2012-11-05 13:23:11 by GavinMcDonald)