Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correct Name of test.
[simgrid.git] / buildtools / Cmake / Pipol.cmake
index c41cba9..693fdec 100644 (file)
@@ -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