X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/94c0b690b73e92394d55afdacf1e0daa412b5bc4..bfded142dc88f72fb1a1f7b8411413e294da0116:/buildtools/Cmake/Pipol.cmake diff --git a/buildtools/Cmake/Pipol.cmake b/buildtools/Cmake/Pipol.cmake index 46448e48de..693fdecdab 100644 --- a/buildtools/Cmake/Pipol.cmake +++ b/buildtools/Cmake/Pipol.cmake @@ -9,11 +9,11 @@ IF(pipol_user) set(CMAKE_OPTIONS " -Wno-dev") if(custom_flags) - set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Dcustom_flags=${custom_flags}") + set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Dcustom_flags=${custom_flags}") endif(custom_flags) if(with_context) - set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Dwith_context=${with_context}") + set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Dwith_context=${with_context}") endif(with_context) if(enable_smpi) @@ -55,6 +55,10 @@ IF(pipol_user) if(enable_model-checking) set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_model-checking=on") endif(enable_model-checking) + + if(enable_latency_bound_tracking) + set(CMAKE_OPTIONS "${CMAKE_OPTIONS} -Denable_latency_bound_tracking=on") + endif(enable_latency_bound_tracking) FIND_PROGRAM(HAVE_SSH ssh) FIND_PROGRAM(HAVE_RSYNC rsync) @@ -97,7 +101,6 @@ IF(pipol_user) \"sudo chown ${pipol_user} ${CMAKE_HOME_DIRECTORY} \; cd ${CMAKE_HOME_DIRECTORY} \; sh ${CMAKE_HOME_DIRECTORY}/buildtools/pipol/liste_install.sh \; - perl ${CMAKE_HOME_DIRECTORY}/buildtools/pipol/cmake.pl \; cmake -E remove CMakeCache.txt \; cmake ${CMAKE_HOME_DIRECTORY}${CMAKE_OPTIONS} \; make clean \; @@ -112,7 +115,6 @@ IF(pipol_user) \"sudo chown ${pipol_user} ${CMAKE_HOME_DIRECTORY} \; cd ${CMAKE_HOME_DIRECTORY} \; sh ${CMAKE_HOME_DIRECTORY}/buildtools/pipol/liste_install.sh \; - perl ${CMAKE_HOME_DIRECTORY}/buildtools/pipol/cmake.pl \; cmake -E remove CMakeCache.txt \; cmake ${CMAKE_HOME_DIRECTORY}${CMAKE_OPTIONS} \; ctest -D Experimental \" @@ -129,7 +131,6 @@ IF(pipol_user) \"sudo chown ${pipol_user} ${CMAKE_HOME_DIRECTORY} \; cd ${CMAKE_HOME_DIRECTORY} \; sh ${CMAKE_HOME_DIRECTORY}/buildtools/pipol/liste_install.sh \; - perl ${CMAKE_HOME_DIRECTORY}/buildtools/pipol/cmake.pl \; cmake -E remove CMakeCache.txt \; cmake ${CMAKE_HOME_DIRECTORY}${CMAKE_OPTIONS} \; ctest -D Experimental \" @@ -160,4 +161,10 @@ IF(PIPOL_SYSTEMS) ENDFOREACH(SYSTEM ${PIPOL_SYSTEMS}) ENDIF(PIPOL_SYSTEMS) +ADD_CUSTOM_TARGET(pipol_kill_all_jobs + COMMENT "PIPOL delete all jobs" + COMMAND ./pipol-sub --pipol-user=${pipol_user} deleteallmyjobs + ) + + ENDIF(pipol_user) \ No newline at end of file