X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/31fc9af64d1481ab1c2f368c2d689c68170e425c..bf30156c2370398b33f5c3e3a073265e7a3ef1de:/tools/cmake/DefinePackages.cmake diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index b52a896c88..a46d075f52 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -1,23 +1,20 @@ ### define source packages set(EXTRA_DIST - src/bindings/java/MANIFEST.MF.in + src/bindings/java/MANIFEST.in src/include/instr/instr_interface.h src/include/mc/datatypes.h src/include/mc/mc.h src/mc/mc_mmu.h src/mc/PageStore.hpp src/mc/mc_record.h - src/include/simgrid/platf_interface.h src/include/simgrid/sg_config.h src/include/smpi/smpi_interface.h src/include/surf/datatypes.h src/include/surf/maxmin.h src/include/surf/surf.h - src/include/surf/surfxml_parse_values.h src/include/xbt/win32_ucontext.h src/include/xbt/wine_dbghelp.h - src/msg/msg_mailbox.h src/msg/msg_private.h src/portable.h src/probes.tp @@ -60,10 +57,11 @@ set(EXTRA_DIST src/surf/ns3/ns3_interface.h src/surf/ns3/ns3_simulator.h src/surf/ns3/red-queue.h - src/surf/platform.hpp src/surf/plugins/energy.hpp - src/surf/simgrid.dtd - src/surf/simgrid_dtd.c + src/surf/xml/simgrid.dtd + src/surf/xml/simgrid_dtd.h + src/surf/xml/simgrid_dtd.c + src/surf/xml/surfxml_sax_cb.cpp src/surf/storage_interface.hpp src/surf/storage_n11.hpp src/surf/surf_interface.hpp @@ -75,17 +73,15 @@ set(EXTRA_DIST src/surf/surf_routing_dijkstra.hpp src/surf/surf_routing_floyd.hpp src/surf/surf_routing_full.hpp - src/surf/surf_routing_generic.hpp + src/surf/surf_routing_RoutedGraph.hpp src/surf/surf_routing_none.hpp - src/surf/surf_routing_private.hpp src/surf/surf_routing_vivaldi.hpp - src/surf/surfxml_parse.cpp src/surf/vm_hl13.hpp src/surf/PropertyHolder.hpp src/surf/virtual_machine.hpp src/surf/host_clm03.hpp - src/surf/host_interface.hpp - src/surf/host_ptask_L07.hpp + src/surf/HostImpl.hpp + src/surf/ptask_L07.hpp src/xbt/automaton/automaton_lexer.yy.c src/xbt/automaton/parserPromela.lex src/xbt/automaton/parserPromela.tab.cacc @@ -98,9 +94,6 @@ set(EXTRA_DIST src/xbt/ex_interface.h src/xbt/fifo_private.h src/xbt/graph_private.h - src/xbt/graphxml.c - src/xbt/graphxml.dtd - src/xbt/graphxml_parse.c src/xbt/heap_private.h src/xbt/log_private.h src/xbt/mallocator_private.h @@ -114,12 +107,12 @@ set(EXTRA_DIST src/xbt/mmalloc/mmalloc.texi src/xbt/mmalloc/mmorecore.c src/xbt/mmalloc/mmprivate.h - src/xbt/mmalloc/mmtrace.awk src/xbt/mmalloc/mrealloc.c src/xbt/probes.h src/xbt/win32_ucontext.c tools/tesh/generate_tesh tools/lualib.patch + teshsuite/lua/lua_platforms.tesh examples/smpi/mc/only_send_deterministic.tesh examples/smpi/mc/non_deterministic.tesh ) @@ -256,12 +249,10 @@ set(XBT_SRC src/xbt/dict.c src/xbt/dict_cursor.c src/xbt/dict_elm.c - src/xbt/dict_multi.c src/xbt/dynar.c src/xbt/ex.c src/xbt/fifo.c src/xbt/graph.c - src/xbt/graphxml_parse.c src/xbt/heap.c src/xbt/lib.c src/xbt/log.c @@ -305,8 +296,6 @@ set(NS3_SRC ) set(SURF_SRC - src/surf/callbacks.h - src/surf/callbacks.cpp src/surf/cpu_cas01.cpp src/surf/cpu_interface.cpp src/surf/cpu_ti.cpp @@ -334,19 +323,20 @@ set(SURF_SRC src/surf/surf_routing_dijkstra.cpp src/surf/surf_routing_floyd.cpp src/surf/surf_routing_full.cpp - src/surf/surf_routing_generic.cpp + src/surf/surf_routing_RoutedGraph.cpp src/surf/surf_routing_none.cpp src/surf/surf_routing_vivaldi.cpp - src/surf/surfxml_private.h - src/surf/surfxml_parse.cpp - src/surf/surfxml_parseplatf.cpp + src/surf/xml/platf.hpp + src/surf/xml/platf_private.hpp + src/surf/xml/surfxml_sax_cb.cpp + src/surf/xml/surfxml_parseplatf.cpp src/surf/trace_mgr.hpp src/surf/trace_mgr.cpp src/surf/vm_hl13.cpp src/surf/virtual_machine.cpp src/surf/host_clm03.cpp - src/surf/host_interface.cpp - src/surf/host_ptask_L07.cpp + src/surf/HostImpl.cpp + src/surf/ptask_L07.cpp src/xbt/xbt_sg_stubs.c ) @@ -447,7 +437,6 @@ else() endif() set(BINDINGS_SRC - src/bindings/bindings_global.c src/bindings/lua/lua_private.h src/bindings/lua/lua_utils.h src/bindings/lua/simgrid_lua.h @@ -522,7 +511,6 @@ list(APPEND JMSG_C_SRC ${JTRACE_C_SRC}) list(APPEND JMSG_JAVA_SRC ${JTRACE_JAVA_SRC}) set(LUA_SRC - src/bindings/lua/factories/host.lua src/bindings/lua/lua_host.cpp src/bindings/lua/lua_platf.cpp src/bindings/lua/lua_debug.cpp @@ -565,6 +553,7 @@ set(MC_SRC_BASE ) set(MC_SRC + src/mc/remote_ptr.hpp src/mc/AddressSpace.hpp src/mc/AddressSpace.cpp src/mc/Frame.hpp @@ -590,7 +579,6 @@ set(MC_SRC src/mc/mc_unw.h src/mc/mc_unw.cpp src/mc/mc_unw_vmread.cpp - src/mc/mc_mmalloc.h src/mc/mc_object_info.h src/mc/mc_checkpoint.cpp src/mc/mc_snapshot.h @@ -611,6 +599,7 @@ set(MC_SRC src/mc/mc_hash.cpp src/mc/mc_ignore.cpp src/mc/mc_ignore.h + src/mc/mc_mmalloc.h src/mc/mc_liveness.h src/mc/LocationList.hpp src/mc/LocationList.cpp @@ -656,7 +645,6 @@ set(headers_to_install include/simgrid/datatypes.h include/simgrid/modelchecker.h include/simgrid/forward.h - include/simgrid/platf.h include/simgrid/simix.h include/simgrid/simix.hpp include/simgrid/host.h @@ -675,9 +663,7 @@ set(headers_to_install include/smpi/mpi.h include/smpi/smpi.h include/smpi/smpi_main.h - include/surf/simgrid_dtd.h include/surf/surf_routing.h - include/surf/surfxml_parse.h include/xbt.h include/xbt/RngStream.h include/xbt/asserts.h @@ -695,8 +681,6 @@ set(headers_to_install include/xbt/file.h include/xbt/function_types.h include/xbt/graph.h - include/xbt/graphxml.h - include/xbt/graphxml_parse.h include/xbt/hash.h include/xbt/heap.h include/xbt/lib.h @@ -708,12 +692,14 @@ set(headers_to_install include/xbt/mmalloc.h include/xbt/module.h include/xbt/parmap.h + include/xbt/range.hpp include/xbt/replay.h include/xbt/str.h include/xbt/strbuff.h include/xbt/swag.h include/xbt/synchro_core.h include/xbt/sysdep.h + include/xbt/system_error.hpp include/xbt/virtu.h include/xbt/xbt_os_thread.h include/xbt/xbt_os_time.h @@ -766,12 +752,14 @@ endif() ### Simgrid Lib sources set(simgrid_sources ${BINDINGS_SRC} - ${S4U_SRC} + ${MC_SRC_BASE} ${MSG_SRC} + ${S4U_SRC} ${SIMDAG_SRC} ${SIMGRID_SRC} ${SIMIX_SRC} ${SURF_SRC} + ${TRACING_SRC} ${XBT_SRC} ) @@ -794,16 +782,6 @@ if(enable_smpi) ) endif() -set(simgrid_sources - ${simgrid_sources} - ${TRACING_SRC} - ) - -set(simgrid_sources - ${simgrid_sources} - ${MC_SRC_BASE} - ) - if(HAVE_MC) set(simgrid_sources ${simgrid_sources} @@ -858,10 +836,6 @@ set(DOC_SOURCES doc/triva-time_interval.png doc/triva-time_interval.svg - doc/HelloWorld/CMakeLists.txt - doc/HelloWorld/HelloWorld.c - doc/HelloWorld/README - doc/doxygen/FAQ.doc doc/doxygen/advanced.doc doc/doxygen/bindings.doc @@ -930,7 +904,6 @@ set(DOC_TOOLS # these files get copied automatically to the html documentation set(DOC_IMG - ${CMAKE_HOME_DIRECTORY}/doc/simgrid.css ${CMAKE_HOME_DIRECTORY}/doc/sc3-description.png ${CMAKE_HOME_DIRECTORY}/doc/webcruft/AS_hierarchy.png ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot.jpg @@ -976,11 +949,11 @@ set(txt_files LICENSE-LGPL-2.1 NEWS TODO - configure ) -set(EXAMPLES_CMAKEFILES_TXT - examples/java/CMakeLists.txt +# The list of cmake build directories is constructed from the following list. +# Add your CMakeLists file here to see your subdir built. +set(CMAKEFILES_TXT examples/java/async/CMakeLists.txt examples/java/bittorrent/CMakeLists.txt examples/java/chord/CMakeLists.txt @@ -1001,6 +974,7 @@ set(EXAMPLES_CMAKEFILES_TXT examples/java/startKillTime/CMakeLists.txt examples/java/suspend/CMakeLists.txt examples/java/tracing/CMakeLists.txt + examples/msg/CMakeLists.txt examples/msg/actions/CMakeLists.txt examples/msg/bittorrent/CMakeLists.txt @@ -1032,21 +1006,19 @@ set(EXAMPLES_CMAKEFILES_TXT examples/msg/suspend/CMakeLists.txt examples/msg/token_ring/CMakeLists.txt examples/msg/tracing/CMakeLists.txt + examples/s4u/CMakeLists.txt examples/s4u/basic/CMakeLists.txt examples/s4u/io/CMakeLists.txt - examples/scala/CMakeLists.txt - examples/scala/master_slave_bypass/CMakeLists.txt - examples/scala/master_slave_kill/CMakeLists.txt - examples/scala/masterslave/CMakeLists.txt + examples/simdag/CMakeLists.txt examples/simdag/dax/CMakeLists.txt examples/simdag/dot/CMakeLists.txt examples/simdag/goal/CMakeLists.txt examples/simdag/io/CMakeLists.txt - examples/simdag/metaxml/CMakeLists.txt examples/simdag/properties/CMakeLists.txt examples/simdag/scheduling/CMakeLists.txt + examples/smpi/CMakeLists.txt examples/smpi/smpi_msg_masterslave/CMakeLists.txt examples/smpi/replay_multiple/CMakeLists.txt @@ -1054,23 +1026,18 @@ set(EXAMPLES_CMAKEFILES_TXT examples/smpi/energy/CMakeLists.txt examples/smpi/energy/f77/CMakeLists.txt examples/smpi/energy/f90/CMakeLists.txt - examples/xbt/CMakeLists.txt - ) -set(TESHSUITE_CMAKEFILES_TXT teshsuite/bug-17132/CMakeLists.txt - teshsuite/java/CMakeLists.txt teshsuite/java/semaphore/CMakeLists.txt teshsuite/java/sleep_host_off/CMakeLists.txt - teshsuite/lua/lua_platforms.tesh teshsuite/mc/CMakeLists.txt teshsuite/mc/dwarf/CMakeLists.txt teshsuite/mc/dwarf_expression/CMakeLists.txt teshsuite/mc/replay/CMakeLists.txt - teshsuite/msg/CMakeLists.txt teshsuite/msg/get_sender/CMakeLists.txt teshsuite/msg/host_on_off/CMakeLists.txt teshsuite/msg/host_on_off_processes/CMakeLists.txt + teshsuite/msg/listen_async/CMakeLists.txt teshsuite/msg/pid/CMakeLists.txt teshsuite/msg/process/CMakeLists.txt teshsuite/msg/process_join/CMakeLists.txt @@ -1080,13 +1047,13 @@ set(TESHSUITE_CMAKEFILES_TXT teshsuite/simdag/availability/CMakeLists.txt teshsuite/simdag/basic/CMakeLists.txt teshsuite/simdag/incomplete/CMakeLists.txt - teshsuite/simdag/network/CMakeLists.txt teshsuite/simdag/network/mxn/CMakeLists.txt teshsuite/simdag/network/p2p/CMakeLists.txt teshsuite/simdag/partask/CMakeLists.txt teshsuite/simdag/platforms/CMakeLists.txt teshsuite/simix/check_defaults/CMakeLists.txt teshsuite/simix/stack_overflow/CMakeLists.txt + teshsuite/smpi/CMakeLists.txt teshsuite/smpi/allgather/CMakeLists.txt teshsuite/smpi/allgatherv/CMakeLists.txt @@ -1136,12 +1103,12 @@ set(TESHSUITE_CMAKEFILES_TXT teshsuite/smpi/mpich3-test/topo/CMakeLists.txt teshsuite/smpi/mpich3-test/rma/CMakeLists.txt teshsuite/smpi/mpich3-test/perf/CMakeLists.txt - teshsuite/surf/CMakeLists.txt + teshsuite/surf/lmm_usage/CMakeLists.txt teshsuite/surf/maxmin_bench/CMakeLists.txt teshsuite/surf/surf_usage/CMakeLists.txt teshsuite/surf/trace_usage/CMakeLists.txt - teshsuite/xbt/graphxml_usage/CMakeLists.txt + teshsuite/xbt/heap_bench/CMakeLists.txt teshsuite/xbt/log_large/CMakeLists.txt teshsuite/xbt/log_usage/CMakeLists.txt @@ -1150,9 +1117,7 @@ set(TESHSUITE_CMAKEFILES_TXT teshsuite/xbt/parallel_log/CMakeLists.txt teshsuite/xbt/parmap_bench/CMakeLists.txt teshsuite/xbt/parmap_test/CMakeLists.txt - ) -set(TOOLS_CMAKEFILES_TXT tools/CMakeLists.txt tools/graphicator/CMakeLists.txt tools/tesh/CMakeLists.txt @@ -1168,7 +1133,6 @@ set(CMAKE_SOURCE_FILES tools/cmake/GCCFlags.cmake tools/cmake/Documentation.cmake tools/cmake/MaintainerMode.cmake - tools/cmake/MakeExe.cmake tools/cmake/Java.cmake tools/cmake/MakeLib.cmake tools/cmake/MakeLibWin.cmake @@ -1180,8 +1144,6 @@ set(CMAKE_SOURCE_FILES tools/cmake/Modules/FindLuaSimgrid.cmake tools/cmake/Modules/FindNS3.cmake tools/cmake/Modules/FindRngStream.cmake - tools/cmake/Modules/FindRubySimgrid.cmake - tools/cmake/Modules/FindScala.cmake tools/cmake/Modules/FindSimGrid.cmake tools/cmake/Modules/FindValgrind.cmake tools/cmake/Option.cmake @@ -1194,12 +1156,8 @@ set(CMAKE_SOURCE_FILES tools/cmake/scripts/IPC/Run/Win32IO.pm tools/cmake/scripts/IPC/Run/Win32Pump.pm tools/cmake/scripts/Diff.pm - tools/cmake/scripts/Makefile.default - tools/cmake/scripts/SimGrid.packproj tools/cmake/scripts/generate_memcheck_tests.pl tools/cmake/scripts/my_valgrind.pl - tools/cmake/scripts/postinstall.sh - tools/cmake/scripts/preinstall.sh tools/cmake/scripts/update_tesh.pl tools/cmake/UnitTesting.cmake tools/cmake/src/internal_config.h.in @@ -1225,6 +1183,7 @@ set(CMAKE_SOURCE_FILES ) set(PLATFORMS_EXAMPLES + examples/platforms/2clusters.xml examples/platforms/bypassASroute.xml examples/platforms/bypassRoute.xml examples/platforms/cloud.xml @@ -1234,25 +1193,26 @@ set(PLATFORMS_EXAMPLES examples/platforms/cluster_no_backbone.xml examples/platforms/clusters_routing_full.xml examples/platforms/crosstraffic.xml - examples/platforms/conf/gridpp_grid_2004.conf - examples/platforms/conf/lcg_sept2004_grid.conf - examples/platforms/conf/transform_optorsim_platform.pl + examples/platforms/optorsim/gridpp_grid_2004.conf + examples/platforms/optorsim/lcg_sept2004_grid.conf + examples/platforms/optorsim/transform_optorsim_platform.pl examples/platforms/config.xml examples/platforms/config_tracing.xml + examples/platforms/trace/faulty_host.trace + examples/platforms/trace/jupiter_speed.trace + examples/platforms/trace/link1_avail.trace examples/platforms/trace/linkBandwidth7.bw examples/platforms/trace/trace_A_failure.txt examples/platforms/trace/trace_A.txt examples/platforms/trace/trace_B.txt examples/platforms/data_center.xml examples/platforms/energy_platform.xml + examples/platforms/faulty_host.xml examples/platforms/fat_tree_cluster.xml examples/platforms/g5k.xml - examples/platforms/generation_scripts/create_hierarchical_clusters.pl - examples/platforms/generation_scripts/enhancedDTDwithHierarchicalCluster.pl examples/platforms/griffon.xml examples/platforms/meta_cluster.xml examples/platforms/multicore_machine.xml - examples/platforms/platform.lua examples/platforms/platform.xml examples/platforms/prop.xml examples/platforms/routing_cluster.xml @@ -1262,7 +1222,6 @@ set(PLATFORMS_EXAMPLES examples/platforms/storage/content/small_content.txt examples/platforms/storage/content/storage_content.txt examples/platforms/storage/content/win_storage_content.txt - examples/platforms/storage/remote_io.deployment.xml examples/platforms/storage/remote_io.xml examples/platforms/storage/storage.xml examples/platforms/small_platform.xml @@ -1273,12 +1232,10 @@ set(PLATFORMS_EXAMPLES examples/platforms/small_platform_with_routers.xml examples/platforms/syscoord/generate_peer_platform.pl examples/platforms/syscoord/median_harvard.syscoord - examples/platforms/syscoord/median_harvard.xml examples/platforms/syscoord/median_meridian.syscoord - examples/platforms/syscoord/median_meridian.xml examples/platforms/syscoord/median_p2psim.syscoord - examples/platforms/syscoord/median_p2psim.xml examples/platforms/torus_cluster.xml + examples/platforms/two_hosts.xml examples/platforms/two_hosts_platform.xml examples/platforms/two_hosts_platform_shared.xml examples/platforms/two_hosts_platform_with_availability.xml