X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3e5e9c5a2393f5c8e988ed0abbaebed9273b21bb..f862821cc0b6574913c5c3c6cb3b2aa4b0cfa8c4:/buildtools/pipol/Nightly_simgrid.sh diff --git a/buildtools/pipol/Nightly_simgrid.sh b/buildtools/pipol/Nightly_simgrid.sh index 771127c4ab..242dad384e 100644 --- a/buildtools/pipol/Nightly_simgrid.sh +++ b/buildtools/pipol/Nightly_simgrid.sh @@ -2,26 +2,22 @@ #PRE-PIPOL /home/mescal/navarro/pre-simgrid.sh -#PIPOL esn i386-linux-ubuntu-intrepid.dd.gz none 02:00 --user --silent -#PIPOL esn amd64-linux-ubuntu-intrepid.dd.gz none 02:00 --user --silent - -#PIPOL esn i386-linux-ubuntu-jaunty.dd.gz none 02:00 --user --silent -#PIPOL esn amd64-linux-ubuntu-jaunty.dd.gz none 02:00 --user --silent - #PIPOL esn i386-linux-ubuntu-karmic.dd.gz none 02:00 --user --silent #PIPOL esn amd64-linux-ubuntu-karmic.dd.gz none 02:00 --user --silent +#PIPOL esn i386-linux-ubuntu-lucid.dd.gz none 02:00 --user --silent +#PIPOL esn amd64-linux-ubuntu-lucid.dd.gz none 02:00 --user --silent +#PIPOL esn amd64_2010-linux-ubuntu-maverick.dd.gz none 02:00 --user --silent -#PIPOL esn i386-linux-fedora-core11.dd.gz none 02:00 --user --silent -#PIPOL esn amd64-linux-fedora-core11.dd.gz none 02:00 --user --silent +#PIPOL esn i386-linux-fedora-core12.dd.gz none 02:00 --user --silent +#PIPOL esn amd64-linux-fedora-core12.dd.gz none 02:00 --user --silent +#PIPOL esn i386-linux-fedora-core13.dd.gz none 02:00 --user --silent +#PIPOL esn amd64-linux-fedora-core13.dd.gz none 02:00 --user --silent #PIPOL esn i386_kvm-linux-debian-lenny none 02:00 --user --silent -#PIPOL esn i386_kvm-linux-debian-testing none 02:00 --user --silent - #PIPOL esn amd64_kvm-linux-debian-lenny none 02:00 --user --silent +#PIPOL esn i386_kvm-linux-debian-testing none 02:00 --user --silent #PIPOL esn amd64_kvm-linux-debian-testing none 02:00 --user --silent -SYSTEM=`uname` - if [ -e ./pipol ] ; then rm -rf ./pipol/$PIPOL_HOST mkdir ./pipol/$PIPOL_HOST @@ -33,141 +29,96 @@ fi cd ./pipol/$PIPOL_HOST svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk simgrid-trunk --quiet - -sh ./simgrid-trunk/buildtools/pipol/liste_install.sh -perl ./simgrid-trunk/buildtools/pipol/cmake.pl - cd simgrid-trunk +sh ./buildtools/pipol/liste_install.sh +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 -cmake \ --Denable_lua=on \ --Denable_ruby=on \ --Denable_java=on \ --Denable_tracing=on \ --Denable_smpi=on \ --Denable_lib_static=off \ --Denable_model-checking=off \ --Denable_latency_bound_tracking=off \ --Denable_gtnets=off \ --Denable_compile_optimizations=off \ --Denable_compile_warnings=off \ --Denable_supernovae=off . -ctest -D NightlyStart -ctest -D NightlyConfigure -ctest -D NightlyBuild -ctest -D NightlyTest -ctest -D NightlySubmit -make clean +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 + make clean +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 + make clean +fi -#full_flags -cmake \ --Denable_lua=on \ --Denable_ruby=on \ --Denable_java=on \ --Denable_tracing=on \ --Denable_smpi=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 \ --Denable_supernovae=off . -ctest -D NightlyStart -ctest -D NightlyConfigure -ctest -D NightlyBuild -ctest -D NightlyTest -ctest -D NightlySubmit -make clean +export SIMGRID_ROOT=`pwd` -#supernovae -cmake \ --Denable_lua=on \ --Denable_ruby=on \ --Denable_java=on \ --Denable_tracing=on \ --Denable_smpi=on \ --Denable_supernovae=on \ --Denable_compile_optimizations=off \ --Denable_compile_warnings=off \ --Denable_lib_static=off \ --Denable_model-checking=off \ --Denable_latency_bound_tracking=off \ --Denable_gtnets=off . +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 -#model checking -cmake \ --Denable_coverage=on \ --Denable_lua=on \ --Denable_ruby=on \ --Denable_java=on \ --Denable_model-checking=on \ --Denable_tracing=on \ --Denable_latency_bound_tracking=on \ --Denable_gtnets=off \ --Denable_compile_optimizations=off \ --Denable_compile_warnings=off \ --Denable_supernovae=off \ --Denable_lib_static=off \ --Denable_smpi=on . +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 -make clean - -if [ $SYSTEM = Linux ] ; then - - sh ./buildtools/pipol/install_gtnets.sh ./gtnets_install/ - - if [ -e ./gtnets_install/lib/libgtsim-opt.so ] ; then - #gtnets - cmake -Denable_lua=on \ - -Denable_ruby=on \ - -Denable_lib_static=on \ - -Denable_model-checking=off \ - -Denable_tracing=on \ - -Denable_latency_bound_tracking=on \ - -Denable_gtnets=on \ - -Denable_java=on \ - -Dgtnets_path=$userhome/usr \ - -Denable_coverage=off \ - -Denable_smpi=on . - ctest -D NightlyStart - ctest -D NightlyConfigure - ctest -D NightlyBuild - ctest -D NightlyTest - ctest -D NightlySubmit - make clean - fi -fi - -if[ x$PIPOL_IMAGE = xi386-linux-ubuntu-karmic.dd.gz ] - #Make the memcheck mode - cmake -Denable_lua=off \ - -Denable_ruby=off \ - -Denable_lib_static=off \ - -Denable_model-checking=off \ - -Denable_tracing=off \ - -Denable_latency_bound_tracking=off \ - -Denable_coverage=off \ - -Denable_gtnets=off \ - -Denable_java=off \ - -Denable_memcheck=on ./ - ctest -D NightlyStart - ctest -D NightlyConfigure - ctest -D NightlyBuild - ctest -D NightlyMemCheck - ctest -D NightlySubmit - make clean -fi \ No newline at end of file +ctest -D NightlySubmit \ No newline at end of file