build-farm 293: Add brasilia to the pool of workers

2006-08-11 Roland Levillain <roland@lrde.epita.fr> * buildfarm_worker/package.fns (conf_tc-maintainer, conf_tc): New. * buildfarm_worker/build_test.fns (action_bootstrap): Run * buildfarm_worker/brasilia.fns: New. autoreconf if no bootstrapping script is found. * maintainer/update_unpacked: Harden script. * web/build.pl (%hosts): Add brasilia. Index: maintainer/update_unpacked =================================================================== --- maintainer/update_unpacked (revision 291) +++ maintainer/update_unpacked (working copy) @@ -16,9 +16,10 @@ echo $package # Extract a fresh copy of the project. + rm -rf "$package.new" svn checkout -q "$url" "$package.new" - mv "$package" "$package.old" - mv "$package.new" "$package" + mv -f "$package" "$package.old" + mv -f "$package.new" "$package" rm -rf "$package.old" # Create a svn-revision file if needed. Index: web/build.pl =================================================================== --- web/build.pl (revision 284) +++ web/build.pl (working copy) @@ -41,6 +41,7 @@ # this defines what it is possible to build # and what boxes. Should be in a config file my (%hosts) = ( + 'brasilia' => "Debian GNU/Linux sid i386", 'marvejols' => "Debian GNU/Linux sid i386", 'antalya' => "Darwin 7.9 powerpc", 'caracas' => "Debian GNU/Linux sid i386", Index: buildfarm_worker/package.fns =================================================================== --- buildfarm_worker/package.fns (revision 284) +++ buildfarm_worker/package.fns (working copy) @@ -123,11 +123,13 @@ conf_tc-maintainer() { deps="monoburg bison" prg_version="bison --version:swig -version:python -V:tc --version" + self_config="--enabled-shared" } conf_tc() { deps="monoburg bison" prg_version="bison --version:swig -version:python -V:tc --version" + self_config="--enabled-shared" } # vaucanson Index: buildfarm_worker/build_test.fns =================================================================== --- buildfarm_worker/build_test.fns (revision 287) +++ buildfarm_worker/build_test.fns (working copy) @@ -309,7 +309,8 @@ ./bootstrap.sh return $? fi - return 51 + autoreconf -f -v -i + return $? } ############################ Index: buildfarm_worker/brasilia.fns =================================================================== --- buildfarm_worker/brasilia.fns (revision 0) +++ buildfarm_worker/brasilia.fns (revision 0) @@ -0,0 +1,29 @@ +# brasilia -*- shell-script -*- +# 2006-07-26: Temporarily added to the build farm to compile Vaucanson 1.0. + +clean_buildfarm + +CXX="ccache g++-3.4" +CC="ccache gcc-3.4" +# FIXME: Temporarily remove `demos'. +test_tree vaucanson bootstrap configure build demos install distcheck + +CC="ccache gcc-4.0" +CXX="ccache g++-4.0" +# FIXME: Temporarily remove `demos'. +test_tree vaucanson-gcc4.0 bootstrap configure build demos install distcheck + +# ICC 9.1 is no longer working on brasilia (the license has expired -- +# but non-commercial free versions of ICC 9.1 will be available on +# August 2006). Thus use ICC 9.0 from the `lrde' account. +CC="ccache icpc" +CXX="ccache icpc" +# 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 LDFLAGS="-cxxlib-icc" +export LD_LIBRARY_PATH=/home/lrde/admin/lrde/usr/intel/compiler90/include/lib/ +PATH=/home/lrde/admin/lrde/usr/intel/compiler90/bin:$PATH +# FIXME: Temp. disabled. +#test_tree vaucanson-icc bootstrap configure build demos install distcheck + +CXX=g++ Property changes on: cache ___________________________________________________________________ Name: svn:ignore + cache.*.* Property changes on: data ___________________________________________________________________ Name: svn:ignore + build.*.*.log Property changes on: unpacked ___________________________________________________________________ Name: svn:ignore + aterm* bison* boxedsdf boxed-sdf-exp c-grammar c-grammar-exp clsp contract-c cxx-basic cxx-grammar cxx-grammar-exp ddd esdf esdf-exp havm monoburg nolimips olena* ranch sdf2* sdf-astgen sdf-astgen-exp sdf-attribute sdf-attribute-exp sdf-detgen sdf-detgen-exp sdf-option sdf-option-exp specs-grammar strategoxt* str-lazy str-lazy-exp tc* transformers vaucanson*
participants (1)
-
Roland Levillain