From: navarrop Date: Thu, 17 Mar 2011 09:49:09 +0000 (+0000) Subject: Update pipol scripts X-Git-Tag: v3.6_beta2~158 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2dd260b561b43eefb026bba613251d3330d5fb0a Update pipol scripts git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9806 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/pipol/Experimental.sh b/buildtools/pipol/Experimental.sh index 209c7024c1..afdde6b057 100644 --- a/buildtools/pipol/Experimental.sh +++ b/buildtools/pipol/Experimental.sh @@ -13,50 +13,68 @@ cd ./pipol/$PIPOL_HOST svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet cd simgrid-trunk -sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install -SIMGRID_ROOT=`pwd` -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib -perl ./buildtools/pipol/cmake.pl -perl ./buildtools/pipol/ruby.pl - -rm CMakeCache.txt - -#supernovae -cmake \ --Denable_lua=on \ --Denable_ruby=on \ --Denable_java=on \ --Denable_tracing=on \ --Denable_smpi=on \ --Denable_supernovae=on \ --Denable_compile_optimizations=on \ --Denable_compile_warnings=on \ --Denable_lib_static=off \ --Denable_model-checking=off \ --Denable_latency_bound_tracking=off \ --Denable_gtnets=off . -ctest -D ExperimentalStart -ctest -D ExperimentalConfigure -ctest -D ExperimentalBuild -ctest -D ExperimentalTest -ctest -D ExperimentalSubmit -make clean +if [ x$PIPOL_IMAGE == "xamd64-windows-server-2008-64bits-navarro-2011-03-15-122256.dd.gz" ] ; then + cmake \ + -G"Unix Makefiles" \ + -Denable_lua=off \ + -Denable_tracing=off \ + -Denable_smpi=off \ + -Denable_supernovae=off \ + -Denable_compile_optimizations=off \ + -Denable_compile_warnings=off \ + -Denable_lib_static=off \ + -Denable_model-checking=off \ + -Denable_latency_bound_tracking=off \ + -Denable_gtnets=off . + ctest -D ExperimentalStart + ctest -D ExperimentalConfigure + ctest -D ExperimentalBuild + ctest -D ExperimentalSubmit +else -#MC -cmake \ --Denable_latency_bound_tracking=on \ --Denable_gtnets=on \ --Dgtnets_path=./gtnets_install \ --Denable_coverage=on \ --Denable_model-checking=on \ --Denable_compile_optimizations=off \ --Denable_auto_install=on \ --DCMAKE_INSTALL_PREFIX=./simgrid_install \ --Denable_supernovae=off . -ctest -D ExperimentalStart -ctest -D ExperimentalConfigure -ctest -D ExperimentalBuild -ctest -D ExperimentalTest -ctest -D ExperimentalCoverage -ctest -D ExperimentalSubmit -make clean + sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install + SIMGRID_ROOT=`pwd` + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/gtnets_install/lib + perl ./buildtools/pipol/cmake.pl + perl ./buildtools/pipol/ruby.pl + + #supernovae + cmake \ + -Denable_lua=on \ + -Denable_ruby=on \ + -Denable_java=on \ + -Denable_tracing=on \ + -Denable_smpi=on \ + -Denable_supernovae=on \ + -Denable_compile_optimizations=on \ + -Denable_compile_warnings=on \ + -Denable_lib_static=off \ + -Denable_model-checking=off \ + -Denable_latency_bound_tracking=off \ + -Denable_gtnets=off . + ctest -D ExperimentalStart + ctest -D ExperimentalConfigure + ctest -D ExperimentalBuild + ctest -D ExperimentalTest + ctest -D ExperimentalSubmit + make clean + + #MC + cmake \ + -Denable_latency_bound_tracking=on \ + -Denable_gtnets=on \ + -Dgtnets_path=./gtnets_install \ + -Denable_coverage=on \ + -Denable_model-checking=on \ + -Denable_compile_optimizations=off \ + -Denable_auto_install=on \ + -DCMAKE_INSTALL_PREFIX=./simgrid_install \ + -Denable_supernovae=off . + ctest -D ExperimentalStart + ctest -D ExperimentalConfigure + ctest -D ExperimentalBuild + ctest -D ExperimentalTest + ctest -D ExperimentalCoverage + ctest -D ExperimentalSubmit + make clean +fi \ No newline at end of file diff --git a/buildtools/pipol/MemCheck.sh b/buildtools/pipol/MemCheck.sh new file mode 100644 index 0000000000..d1983412c6 --- /dev/null +++ b/buildtools/pipol/MemCheck.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +if [ -e ./pipol ] ; then + rm -rf ./pipol/$PIPOL_HOST + mkdir ./pipol/$PIPOL_HOST +else + mkdir ./pipol + rm -rf ./pipol/$PIPOL_HOST + mkdir ./pipol/$PIPOL_HOST +fi +cd ./pipol/$PIPOL_HOST + +svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet +cd simgrid-trunk + +perl ./buildtools/pipol/cmake.pl +perl ./buildtools/pipol/ruby.pl + +#mem-check +cmake \ +-Denable_lua=off \ +-Denable_tracing=off \ +-Denable_smpi=off \ +-Denable_supernovae=off \ +-Denable_compile_optimizations=off \ +-Denable_compile_warnings=on \ +-Denable_lib_static=off \ +-Denable_model-checking=off \ +-Denable_latency_bound_tracking=off \ +-Denable_gtnets=off \ +-Denable_jedule=off \ +-Denable_memcheck=on ./ +ctest -D ExperimentalStart +ctest -D ExperimentalConfigure +ctest -D ExperimentalBuild +ctest -D ExperimentalMemCheck +ctest -D ExperimentalSubmit \ No newline at end of file diff --git a/buildtools/pipol/Nightly_simgrid.sh b/buildtools/pipol/Nightly_simgrid.sh index 827b11d470..09b4ecf0b2 100644 --- a/buildtools/pipol/Nightly_simgrid.sh +++ b/buildtools/pipol/Nightly_simgrid.sh @@ -18,6 +18,8 @@ #PIPOL esn i386_kvm-linux-debian-testing none 02:00 --user --silent #PIPOL esn amd64_kvm-linux-debian-testing none 02:00 --user --silent +#PIPOL esn amd64-windows-server-2008-64bits-navarro-2011-03-15-122256.dd.gz none 02:00 --user --silent + if [ -e ./pipol ] ; then rm -rf ./pipol/$PIPOL_HOST mkdir ./pipol/$PIPOL_HOST @@ -31,92 +33,110 @@ cd ./pipol/$PIPOL_HOST svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet cd simgrid-trunk -sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install -SIMGRID_DIR=`pwd` -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_DIR/gtnets_install/lib -perl ./buildtools/pipol/cmake.pl -perl ./buildtools/pipol/ruby.pl - -rm CMakeCache.txt -if [ x$PIPOL_IMAGE == "xamd64_2010-linux-ubuntu-maverick.dd.gz" ] ; then - #mem-check +if [ x$PIPOL_IMAGE == "xamd64-windows-server-2008-64bits-navarro-2011-03-15-122256.dd.gz" ] ; then cmake \ + -G"Unix Makefiles" \ -Denable_lua=off \ -Denable_tracing=off \ -Denable_smpi=off \ -Denable_supernovae=off \ -Denable_compile_optimizations=off \ - -Denable_compile_warnings=on \ + -Denable_compile_warnings=off \ -Denable_lib_static=off \ -Denable_model-checking=off \ -Denable_latency_bound_tracking=off \ - -Denable_gtnets=off \ - -Denable_jedule=off \ - -Denable_memcheck=on ./ + -Denable_gtnets=off . ctest -D NightlyStart ctest -D NightlyConfigure ctest -D NightlyBuild - ctest -D NightlyMemCheck ctest -D NightlySubmit else - #supernovae - cmake \ - -Denable_lua=on \ - -Denable_tracing=on \ - -Denable_smpi=on \ - -Denable_supernovae=on \ - -Denable_compile_optimizations=on \ - -Denable_compile_warnings=on \ - -Denable_lib_static=off \ - -Denable_model-checking=off \ - -Denable_latency_bound_tracking=off \ - -Denable_gtnets=off . + sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install + SIMGRID_DIR=`pwd` + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_DIR/gtnets_install/lib + perl ./buildtools/pipol/cmake.pl + perl ./buildtools/pipol/ruby.pl + + if [ x$PIPOL_IMAGE == "xamd64_2010-linux-ubuntu-maverick.dd.gz" ] ; then + #mem-check + cmake \ + -Denable_lua=off \ + -Denable_tracing=off \ + -Denable_smpi=off \ + -Denable_supernovae=off \ + -Denable_compile_optimizations=off \ + -Denable_compile_warnings=on \ + -Denable_lib_static=off \ + -Denable_model-checking=off \ + -Denable_latency_bound_tracking=off \ + -Denable_gtnets=off \ + -Denable_jedule=off \ + -Denable_memcheck=on ./ + ctest -D NightlyStart + ctest -D NightlyConfigure + ctest -D NightlyBuild + ctest -D NightlyMemCheck + ctest -D NightlySubmit + else + #supernovae + cmake \ + -Denable_lua=on \ + -Denable_tracing=on \ + -Denable_smpi=on \ + -Denable_supernovae=on \ + -Denable_compile_optimizations=on \ + -Denable_compile_warnings=on \ + -Denable_lib_static=off \ + -Denable_model-checking=off \ + -Denable_latency_bound_tracking=off \ + -Denable_gtnets=off . + ctest -D NightlyStart + ctest -D NightlyConfigure + ctest -D NightlyBuild + ctest -D NightlyTest + ctest -D NightlySubmit + make clean + + #MC + cmake \ + -Denable_latency_bound_tracking=on \ + -Denable_gtnets=on \ + -Dgtnets_path=./gtnets_install \ + -Denable_coverage=on \ + -Denable_model-checking=on \ + -Denable_compile_optimizations=off \ + -Denable_auto_install=on \ + -DCMAKE_INSTALL_PREFIX=./simgrid_install \ + -Denable_supernovae=off . + ctest -D NightlyStart + ctest -D NightlyConfigure + ctest -D NightlyBuild + ctest -D NightlyTest + ctest -D NightlyCoverage + ctest -D NightlySubmit + fi + + export SIMGRID_ROOT=`pwd` + export LD_LIBRARY_PATH=`pwd`/lib + + cd ../ + svn checkout svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java simgrid-java --quiet + cd simgrid-java + cmake . ctest -D NightlyStart ctest -D NightlyConfigure ctest -D NightlyBuild ctest -D NightlyTest ctest -D NightlySubmit - make clean - #MC - cmake \ - -Denable_latency_bound_tracking=on \ - -Denable_gtnets=on \ - -Dgtnets_path=./gtnets_install \ - -Denable_coverage=on \ - -Denable_model-checking=on \ - -Denable_compile_optimizations=off \ - -Denable_auto_install=on \ - -DCMAKE_INSTALL_PREFIX=./simgrid_install \ - -Denable_supernovae=off . + cd ../ + svn checkout svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-ruby simgrid-ruby --quiet + cd simgrid-ruby + cmake . ctest -D NightlyStart ctest -D NightlyConfigure ctest -D NightlyBuild ctest -D NightlyTest - ctest -D NightlyCoverage ctest -D NightlySubmit -fi - -export SIMGRID_ROOT=`pwd` -export LD_LIBRARY_PATH=`pwd`/lib - -cd ../ -svn checkout svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java simgrid-java --quiet -cd simgrid-java -cmake . -ctest -D NightlyStart -ctest -D NightlyConfigure -ctest -D NightlyBuild -ctest -D NightlyTest -ctest -D NightlySubmit - -cd ../ -svn checkout svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-ruby simgrid-ruby --quiet -cd simgrid-ruby -cmake . -ctest -D NightlyStart -ctest -D NightlyConfigure -ctest -D NightlyBuild -ctest -D NightlyTest -ctest -D NightlySubmit \ No newline at end of file +fi \ No newline at end of file diff --git a/buildtools/pipol/deploy.sh b/buildtools/pipol/deploy.sh index 1712e495c0..21ef610c14 100644 --- a/buildtools/pipol/deploy.sh +++ b/buildtools/pipol/deploy.sh @@ -37,4 +37,8 @@ ssh pipol pipol-sub esn amd64_kvm-linux-debian-testing none 02:00 "~/Experimenta #___________________________________________________________________________________________________ #MacOS Snow Leopard 10.6____________________________________________________________________________ ssh pipol pipol-sub esn x86_64_mac-mac-osx-server-snow-leopard.dd.gz none 02:00 "~/Experimental.sh" -ssh pipol pipol-sub esn x86_mac-mac-osx-server-snow-leopard.dd.gz none 02:00 "~/Experimental.sh" \ No newline at end of file +ssh pipol pipol-sub esn x86_mac-mac-osx-server-snow-leopard.dd.gz none 02:00 "~/Experimental.sh" + +#___________________________________________________________________________________________________ +#windows-server-2008-64bits_________________________________________________________________________ +ssh pipol pipol-sub esn amd64-windows-server-2008-64bits-navarro-2011-03-15-122256.dd.gz none 02:00 "~/Experimental.sh" \ No newline at end of file diff --git a/buildtools/pipol/rc.windows b/buildtools/pipol/rc.windows new file mode 100644 index 0000000000..aaec096531 --- /dev/null +++ b/buildtools/pipol/rc.windows @@ -0,0 +1,19 @@ +#!/bin/bash + +sudo echo " " >> /etc/profile +sudo echo "export PATH=/cygdrive/c/strawberry/c/bin:/cygdrive/c/strawberry/perl/site/bin:/cygdrive/c/strawberry/perl/bin:/cygdrive/c/CMake\ 2.8/bin:/cygdrive/c/Subversion/bin:/bin" >> /etc/profile +sudo echo "export PATH=$PATH:/cygdrive/c/:/cygdrive/c/GnuWin32/bin/" >> /etc/profile +which_svn=`which svn` #svn necessary +which_gcc=`which gcc` #gcc gcc necessary +which_gpp=`which g++` #gcc g++ necessary +which_make=`which gmake` #make necessary +which_cmake=`which cmake` #cmake necessary +which_perl=`which perl` #perl +echo "DEBUT----------------------------------" +echo $which_cmake +echo $which_make +echo $which_gcc +echo $which_gpp +echo $which_svn +echo $which_perl +echo "FIN------------------------------------" \ No newline at end of file