Next: BasicBuildFactory, Previous: BuildFactory, Up: Build Factories
GNU Autoconf is a software portability tool, intended to make it possible to write programs in C (and other languages) which will run on a variety of UNIX-like systems. Most GNU software is built using autoconf. It is frequently used in combination with GNU automake. These tools both encourage a build process which usually looks like this:
% CONFIG_ENV=foo ./configure --with-flags % make all % make check # make install
(except of course the Buildbot always skips the
buildbot.process.factory.GNUAutoconf factory is
designed to build projects which use GNU autoconf and/or automake. The
configuration environment variables, the configure flags, and command
lines used for the compile and test are all configurable, in general
the default values will be suitable.
f = factory.GNUAutoconf(source=source.SVN(svnurl=URL, mode="copy"), flags=["--disable-nls"])
./configure. Accepts either a string or a list of shell argv elements.
CFLAGS="-O2 -g"(to turn off debug symbols during the compile). Defaults to an empty dictionary.
["--without-x"]to disable windowing support. Defaults to an empty list.
make all. If set to None, the compile step is skipped.
make check. If set to None, the test step is skipped.