https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix antalya.
* buildfarm_worker/antalya.fns (CCACHE_DIR): Set to
/var/tmp/build/var/ccache.
Disabled Transformers, Vaucanson and Olena builds.
* buildfarm_worker/build_test (ssh_options): New.
Set it to `-o ConnectTimeout=60' according to the installed
version of ssh.
antalya.fns | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
brasilia.fns | 6 ++---
build_test | 10 +++++++-
caracas.fns | 10 ++++----
marvejols.fns | 2 +
5 files changed, 79 insertions(+), 15 deletions(-)
Index: buildfarm_worker/caracas.fns
--- buildfarm_worker/caracas.fns (revision 379)
+++ buildfarm_worker/caracas.fns (working copy)
@@ -2,15 +2,15 @@
# Used to continuously build Tiger and Vaucanson.
-# The ccache dir is located in the /work file system on caracas. As
-# ~/.zshenv is not sourced by the build script, this environment
-# variable is defined here.
-export CCACHE_DIR=/work/build/var/ccache
-
# Add some programs from /lrde/bin to the PATH.
export PATH="/lrde/dev/linux-x86/sarge/autoconf-2.60/bin:$PATH"
export PATH="/lrde/dev/linux-x86/sarge/bison-2.2/bin:$PATH"
+# The ccache dir is located in the /work file system. As ~/.zshenv is
+# not sourced by the build script, this environment variable is
+# defined here.
+export CCACHE_DIR=/work/build/var/ccache
+
clean_buildfarm
Index: buildfarm_worker/marvejols.fns
--- buildfarm_worker/marvejols.fns (revision 379)
+++ buildfarm_worker/marvejols.fns (working copy)
@@ -2,9 +2,11 @@
# Nix settings.
. /nix/etc/profile.d/nix.sh
+
# Add some programs from /lrde/bin to the PATH.
export PATH="/lrde/dev/linux-x86/sarge/autoconf-2.60/bin:$PATH"
export PATH="/lrde/dev/linux-x86/sarge/bison-2.2/bin:$PATH"
+
# The ccache dir is located in the /work file system on. As
# ~/.zshenv is not sourced by the build script, this environment
# variable is defined here.
Index: buildfarm_worker/build_test
--- buildfarm_worker/build_test (revision 379)
+++ buildfarm_worker/build_test (working copy)
@@ -9,8 +9,16 @@
# go to our main directory
cd ~/build_farm || exit 1
+# ssh options.
+ssh_options=
+# OpenSSH 3.6.1 (the default version installed on Mac OS X 10.3) lacks
+# the `ConnectTimeout' option.
+if ssh -V 2>&1 | grep -vq "^OpenSSH_3\.6\.1"; then
+ ssh_options="-o ConnectTimeout=60"
+fi
+
# rsync command
-RSYNC="eval rsync -e 'ssh -o ConnectTimeout=60 -i `pwd`/id_dsa_build -l pm'
--port=873 --timeout=200"
+RSYNC="eval rsync -e 'ssh $ssh_options -i `pwd`/id_dsa_build -l pm'
--port=873 --timeout=200"
# rsync master host
RSYNC_HOST=goa
Index: buildfarm_worker/brasilia.fns
--- buildfarm_worker/brasilia.fns (revision 379)
+++ buildfarm_worker/brasilia.fns (working copy)
@@ -2,9 +2,9 @@
# Used to compile Olena and Vaucanson.
-# The ccache dir is located in the /work file system on brasilia. As
-# ~/.zshenv is not sourced by the build script, this environment
-# variable is defined here.
+# The ccache dir is located in the /work file system. As ~/.zshenv is
+# not sourced by the build script, this environment variable is
+# defined here.
export CCACHE_DIR=/work/build/var/ccache
# The setup of ICC is enough tedious to avoid it to build `timelimit';
Index: buildfarm_worker/antalya.fns
--- buildfarm_worker/antalya.fns (revision 379)
+++ buildfarm_worker/antalya.fns (working copy)
@@ -2,6 +2,7 @@
# Nix settings.
. /nix/etc/profile.d/nix.sh
+
# Fink and local binaries.
export PATH="/sw/bin:/var/tmp/build_farm/local/bin:$PATH"
# Add some programs from /lrde/bin to the PATH.
@@ -10,17 +11,33 @@
export PATH="/lrde/dev/darwin-powerpc/panther/bison-2.2/bin:$PATH"
export PATH="/lrde/dev/darwin-powerpc/panther/swig-1.3.29/bin:$PATH"
-export CCACHE_DIR="/var/tmp/build_farm/.ccache"
+# The ccache dir is located in the /var/ file system. As ~/.zshenv is
+# not sourced by the build script, this environment variable is
+# defined here.
+export CCACHE_DIR="/var/tmp/build/var/ccache"
+
+# Clean up.
clean_buildfarm
export CC="ccache gcc"
export CXX="ccache g++"
-test_tree generic-tools
-test_tree c-tools
-test_tree cxx-tools
-test_tree transformers
+
+# -------------- #
+# Transformers. #
+# -------------- #
+
+# 2006-09-25: Disabled.
+# test_tree generic-tools
+# test_tree c-tools
+# test_tree cxx-tools
+# test_tree transformers
+
+
+# ------- #
+# Tiger. #
+# ------- #
test_tree havm
test_tree nolimips
@@ -28,13 +45,50 @@
test_tree clspr
# FIXME: Is this the best way to set DISTCHECK_CONFIGURE_FLAGS?
+# Anyway, we want to use CONFIG_SITE.
host_config="--with-boost=/sw/include"
export DISTCHECK_CONFIGURE_FLAGS="$host_config"
test_tree tc configure build distcheck
unset DISTCHECK_CONFIGURE_FLAGS
host_config=""
-test_tree vaucanson
+
+# ----------- #
+# Vaucanson. #
+# ----------- #
+
+# 2006-09-25: Disabled.
+#test_tree vaucanson
+
+
+# ------- #
+# Olena. #
+# ------- #
+
+# Olena 0.10a.
+# The goa's working copy of Olena 0.10a is not update automatically;
+# don't forget to update it when new revisions are checked in.
+# 2006-09-25: Disabled.
+#test_tree olena-0.10a bootstrap configure build check install distcheck
+
+# Olena 1.0.
+# 2006-09-25: Disabled.
+# (
+# export CXX="ccache g++-4"
+# test_tree olena-1.0-g++-4.1 \
+# bootstrap configure build check install distcheck
+# )
+
+
+# ------------ #
+# Lrde-tools. #
+# ------------ #
test_tree ranch
+
+
+# ----- #
+# DDD. #
+# ----- #
+
test_tree ddd