From: Martin Quinson Date: Fri, 5 Oct 2018 21:16:36 +0000 (+0200) Subject: Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid X-Git-Tag: v3_22~921 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5e41cea3f1d670f198f312cfe398af95b9ed7b40?hp=ec96922670ac3b803120a489b18c3b2c769ac087 Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid --- diff --git a/.travis.yml b/.travis.yml index 04e7224476..d6052247ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ # apt-get libns3-dev ns3 # # -#sudo: required +sudo: required dist: trusty language: cpp compiler: diff --git a/src/mc/remote/Client.cpp b/src/mc/remote/Client.cpp index 055a90af62..ca22d202e7 100644 --- a/src/mc/remote/Client.cpp +++ b/src/mc/remote/Client.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -76,7 +77,7 @@ Client* Client::initialize() #error "no ptrace equivalent coded for this platform" #endif if (errno != 0 || raise(SIGSTOP) != 0) - xbt_die("Could not wait for the model-checker"); + xbt_die("Could not wait for the model-checker (errno = %d: %s)", errno, strerror(errno)); instance_->handleMessages(); return instance_.get(); diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index 82aa431fb7..e7f3e5bb90 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -1130,6 +1130,7 @@ set(PLATFORMS_EXAMPLES examples/platforms/cluster_torus.xml examples/platforms/cluster_torus.svg examples/platforms/cluster_dragonfly.xml + examples/platforms/cluster_dragonfly.svg examples/platforms/crosstraffic.xml examples/platforms/optorsim/gridpp_grid_2004.conf examples/platforms/optorsim/lcg_sept2004_grid.conf diff --git a/tools/cmake/Modules/FindNS3.cmake b/tools/cmake/Modules/FindNS3.cmake index d036843925..1d5adfa3d9 100644 --- a/tools/cmake/Modules/FindNS3.cmake +++ b/tools/cmake/Modules/FindNS3.cmake @@ -20,7 +20,7 @@ set(SIMGRID_HAVE_NS3 0) set(NS3_HINT ${ns3_path} CACHE PATH "Path to search for NS3 lib and include") find_library(NS3_LIBRARIES - NAME ns3-core ns3.14-core ns3.15-core ns3.16-core ns3.17-core ns3.18-core ns3.19-core ns3.20-core ns3.21-core ns3.22-core ns3.25-core ns3.26-core ns3.26-core-optimized ns3.26-core-debug ns3.27-core ns3.27-core-optimized ns3.27-core-debug ns3.28-core ns3.28-core-optimized ns3.28-core-debug + NAME ns3-core ns3.14-core ns3.15-core ns3.16-core ns3.17-core ns3.18-core ns3.19-core ns3.20-core ns3.21-core ns3.22-core ns3.25-core ns3.26-core ns3.26-core-optimized ns3.26-core-debug ns3.27-core ns3.27-core-optimized ns3.27-core-debug ns3.28-core ns3.28-core-optimized ns3.28-core-debug ns3.29-core ns3.29-core-optimized ns3.29-core-debug PATH_SUFFIXES lib64 lib ns3/lib PATHS ${NS3_HINT} @@ -28,7 +28,7 @@ find_library(NS3_LIBRARIES find_path(NS3_INCLUDE_DIR NAME ns3/core-module.h - PATH_SUFFIXES include ns3/include include/ns3.14 include/ns3.15 include/ns3.16 include/ns3.17 include/ns3.18 include/ns3.19 include/ns3.20 include/ns3.21 include/ns3.22 include/ns3.25 include/ns3.26 include/ns3.27 include/ns3.28 + PATH_SUFFIXES include ns3/include include/ns3.14 include/ns3.15 include/ns3.16 include/ns3.17 include/ns3.18 include/ns3.19 include/ns3.20 include/ns3.21 include/ns3.22 include/ns3.25 include/ns3.26 include/ns3.27 include/ns3.28 include/ns3.29 PATHS ${NS3_HINT} )