A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: add Comm.waitall
[simgrid.git]
/
examples
/
python
/
CMakeLists.txt
diff --git
a/examples/python/CMakeLists.txt
b/examples/python/CMakeLists.txt
index 367f7954d2531d658af734ccda557730da46e1d6..4c4eb11623231052a2bbe254c105ce42fe50d044 100644
(file)
--- a/
examples/python/CMakeLists.txt
+++ b/
examples/python/CMakeLists.txt
@@
-1,4
+1,5
@@
-foreach(example actor-create actor-join actor-migrate actor-suspend actor-yield
+foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate actor-suspend actor-yield # actor-lifetime
+ async-wait async-waitall
exec-basic)
set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.tesh)
set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py)
exec-basic)
set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.tesh)
set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}/${example}.py)
@@
-6,6
+7,7
@@
foreach(example actor-create actor-join actor-migrate actor-suspend actor-yield
if(enable_python)
ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example}
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
if(enable_python)
ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example}
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
+ --setenv pythoncmd=${PYTHON_EXECUTABLE}
--setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
--setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
--cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}
--setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
--setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
--cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}
@@
-14,5
+16,9
@@
foreach(example actor-create actor-join actor-migrate actor-suspend actor-yield
endforeach()
set(tesh_files examples/python/actor-create/actor-create_d.xml
endforeach()
set(tesh_files examples/python/actor-create/actor-create_d.xml
+ examples/python/actor-lifetime/actor-lifetime_d.xml
+ examples/python/actor-lifetime/actor-lifetime.py # example broken so far
+ examples/python/actor-lifetime/actor-lifetime.tesh
+ examples/python/async-wait/async-wait_d.xml
${tesh_files} PARENT_SCOPE)
set(examples_src ${examples_src} PARENT_SCOPE)
${tesh_files} PARENT_SCOPE)
set(examples_src ${examples_src} PARENT_SCOPE)