From be62c77147930c4cdc12504c191c7d35630aa563 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 26 Aug 2022 15:13:01 +0200 Subject: [PATCH] C++17 is required since commit d5718258083be61d600e55b70915ccca43666e0f. --- CMakeLists.txt | 2 +- ChangeLog | 3 ++- docs/source/Installing_SimGrid.rst | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 048ddd6ff0..daefe9fd2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ if (CMAKE_COMPILER_IS_GNUCC) endif() endif() -## We need a decent support of the C++14 and C11 standards +## We need a decent support of the C++17 and C11 standards set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/ChangeLog b/ChangeLog index 7ee375d4b4..d6e32b8898 100644 --- a/ChangeLog +++ b/ChangeLog @@ -36,7 +36,8 @@ Platform description & visualization: demonstrates how we can generate a nice graphical representation of the platform. -General: +General: + - SimGrid now requires a compiler with C++17 support. - Modified the host_by_name functions: - Now, they return only hosts, not VMs, and in a much more efficient way. - If one wants to find a VM by name, he now needs to know the host on diff --git a/docs/source/Installing_SimGrid.rst b/docs/source/Installing_SimGrid.rst index 9d5d606ab1..6a94fe279a 100644 --- a/docs/source/Installing_SimGrid.rst +++ b/docs/source/Installing_SimGrid.rst @@ -111,8 +111,8 @@ Getting the Dependencies ^^^^^^^^^^^^^^^^^^^^^^^^ C++ compiler (either g++, clang, or icc). - We use the C++14 standard, and older compilers tend to fail on - us. It seems that g++ 5.0 or higher is required nowadays (because of + We use the C++17 standard, and older compilers tend to fail on + us. It seems that g++ 7.0 or higher is required nowadays (because of boost). SimGrid compiles well with `clang` or `icc` too. Python 3. SimGrid should build without Python. That is only needed by our regression test suite. -- 2.20.1