https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm
Currently, this build is only performed on brasilia (with STLPort 5.1).
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
New tree: Vaucanson, with GCC 4.0 and STLPort.
* buildfarm_worker/brasilia.fns: Add a new tree,
vaucanson-gcc4.0-stlport.
* buildfarm_worker/package.fns (conf_vaucanson_gcc4_0_stlport):
New.
* buildfarm_worker/config.fns: Handle Vaucanson and STLPort.
* web/build.pl: Add vaucanson-gcc4.0-stlport.
buildfarm_worker/brasilia.fns | 7 +++++++
buildfarm_worker/config.fns | 23 +++++++++++++++++++++++
buildfarm_worker/package.fns | 1 +
web/build.pl | 1 +
4 files changed, 32 insertions(+)
Index: web/build.pl
--- web/build.pl (revision 400)
+++ web/build.pl (working copy)
@@ -79,6 +79,7 @@
'---',
'vaucanson',
'vaucanson-gcc4.0',
+ 'vaucanson-gcc4.0-stlport',
'vaucanson-icc',
'---',
'olena-0.10a',
Index: buildfarm_worker/package.fns
--- buildfarm_worker/package.fns (revision 400)
+++ buildfarm_worker/package.fns (working copy)
@@ -82,6 +82,7 @@
conf_vaucanson() { default_conf_vaucanson; }
conf_vaucanson_gcc4_0() { default_conf_vaucanson; }
+conf_vaucanson_gcc4_0_stlport() { default_conf_vaucanson; }
conf_vaucanson_icc() { default_conf_vaucanson; }
Index: buildfarm_worker/config.fns
--- buildfarm_worker/config.fns (revision 400)
+++ buildfarm_worker/config.fns (working copy)
@@ -32,6 +32,29 @@
: ${enable_shared=yes}
;;
+
+ # ----------- #
+ # Vaucanson. #
+ # ----------- #
+
+ vaucanson:*)
+ case $srcdir in
+
+ # STLPort settings.
+ # FIXME: As soon as a library compiled with _STLP_DEBUG turned on is
+ # available, use it.
+ *stlport*)
+ CXXFLAGS="-pthread"
+ if test -d /usr/include/stlport; then
+ CXXFLAGS="$CXXFLAGS -I/usr/include/stlport"
+ fi
+ LDFLAGS="-lstlport"
+ ;;
+
+ esac
+ ;;
+
+
# ------- #
# Olena. #
# ------- #
Index: buildfarm_worker/brasilia.fns
--- buildfarm_worker/brasilia.fns (revision 400)
+++ buildfarm_worker/brasilia.fns (working copy)
@@ -68,6 +68,13 @@
)
(
+ export CC="ccache gcc-4.0"
+ export CXX="ccache g++-4.0"
+ test_tree vaucanson-gcc4.0-stlport \
+ bootstrap configure build check demos install distcheck
+)
+
+(
export CC="ccache icc"
export CXX="ccache icpc"
init_icc_vars