https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Catch up with the new repository layout.
* buildfarm_worker/brasilia.fns: Catch up with the new repository
layout (/lrde/* hierarchy).
* buildfarm_worker/caracas.fns: Likewise.
Aesthetic changes.
* buildfarm_worker/system.fns: Typo.
brasilia.fns | 2 +-
caracas.fns | 31 ++++++++++++++++++++++++++-----
system.fns | 3 ++-
3 files changed, 29 insertions(+), 7 deletions(-)
Index: buildfarm_worker/caracas.fns
--- buildfarm_worker/caracas.fns (revision 347)
+++ buildfarm_worker/caracas.fns (working copy)
@@ -8,6 +8,9 @@
clean_buildfarm
+
+# Tiger.
+(
export CC="ccache gcc"
export CXX="ccache g++"
test_tree havm
@@ -15,24 +18,42 @@
test_tree monoburg
test_tree clspr
test_tree tc-maintainer
+)
+
+# Vaucanson.
+(
export CC="ccache gcc-3.4"
export CXX="ccache g++-3.4"
test_tree vaucanson bootstrap configure build check demos install distcheck
+)
+(
export CC="ccache gcc-4.0"
export CXX="ccache g++-4.0"
-test_tree vaucanson-gcc4.0 bootstrap configure build check demos install distcheck
+ test_tree vaucanson-gcc4.0 \
+ bootstrap configure build check demos install distcheck
+)
+(
export CC="ccache icc"
export CXX="ccache icpc"
+
+ icc_dir="/lrde/beyrouth/admin/lrde/usr/intel/compiler90"
# Don't use CXXFLAGS, it's CPP and LD stuffs.
-export CPPFLAGS="-D_LINUX
-I/home/lrde/admin/lrde/usr/intel/compiler90/include/c++/"
+ export CPPFLAGS="-D_LINUX -I$icc_dir/include/c++/"
export LDFLAGS="-cxxlib-icc"
-export LD_LIBRARY_PATH=/home/lrde/admin/lrde/usr/intel/compiler90/include/lib/
-export PATH="/home/lrde/admin/lrde/usr/intel/compiler90/bin:$PATH"
-test_tree vaucanson-icc bootstrap configure build check demos install distcheck
+ export LD_LIBRARY_PATH="$icc_dir/lib:`printenv LD_LIBRARY_PATH`"
+ export PATH="$icc_dir/bin:$PATH"
+ test_tree vaucanson-icc \
+ bootstrap configure build check demos install distcheck
+)
+
+# Ranch.
+(
+ # FIXME: Does Ranch really needs a C and/or a C++ compiler?
export CC="ccache gcc"
export CXX="ccache g++"
test_tree ranch
+)
Index: buildfarm_worker/system.fns
--- buildfarm_worker/system.fns (revision 347)
+++ buildfarm_worker/system.fns (working copy)
@@ -1,3 +1,4 @@
+ # -*- shell-script -*-
case `uname` in
Linux)
cat /proc/cpuinfo | \
@@ -54,7 +55,7 @@
;;
*)
- echo "Unknow system !"
+ echo "Unknown system!"
;;
esac
Index: buildfarm_worker/brasilia.fns
--- buildfarm_worker/brasilia.fns (revision 347)
+++ buildfarm_worker/brasilia.fns (working copy)
@@ -36,7 +36,7 @@
# So, force the use of GCC 4.0.
CXXFLAGS="-gcc-name=gcc-4.0"
- icc_dir=/home/lrde/admin/lrde/usr/intel/compiler90
+ icc_dir="/lrde/beyrouth/admin/lrde/usr/intel/compiler90"
# Don't use CXXFLAGS, it's CPP and LD stuffs.
export CPPFLAGS="-D_LINUX -I$icc_dir/include/c++/"
export LDFLAGS="-cxxlib-icc"