X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b106de21c7204a7083149d2a84d967a1d42cc687..566be4f1a9393406a6adc1b2fe815c6d1ae4e3bc:/buildtools/Cmake/Pipol.cmake diff --git a/buildtools/Cmake/Pipol.cmake b/buildtools/Cmake/Pipol.cmake index c41cba9da6..693fdecdab 100644 --- a/buildtools/Cmake/Pipol.cmake +++ b/buildtools/Cmake/Pipol.cmake @@ -6,14 +6,14 @@ # ssh/rsync mandatory IF(pipol_user) - set(CMAKE_OPTIONS "") + 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) @@ -157,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