From 7bbf070757b58ac8b15ade99e1fe845342eb395d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 4 Mar 2020 14:37:51 -0500 Subject: [PATCH] document new C++ and CMake requirements in manual --- doc/src/Build_cmake.rst | 6 ++---- doc/src/Build_settings.rst | 10 +++++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/doc/src/Build_cmake.rst b/doc/src/Build_cmake.rst index 8314afaa0e..939431c6b3 100644 --- a/doc/src/Build_cmake.rst +++ b/doc/src/Build_cmake.rst @@ -95,10 +95,8 @@ this directory or sub-directories within it that CMake creates. directory to un-install all packages. The purge removes all the \*.h files auto-generated by make. -You must have CMake version 2.8 or later on your system to build -LAMMPS. A handful of LAMMPS packages (KOKKOS, LATTE, MSCG) require a -later version. CMake will print a message telling you if a later -version is required. Installation instructions for CMake are below. +You must have CMake version 3.10 or later on your system to build +LAMMPS. Installation instructions for CMake are below. After the initial build, if you edit LAMMPS source files, or add your own new files to the source directory, you can just re-type make from diff --git a/doc/src/Build_settings.rst b/doc/src/Build_settings.rst index 1e668ee95d..5f835f76a0 100644 --- a/doc/src/Build_settings.rst +++ b/doc/src/Build_settings.rst @@ -23,11 +23,11 @@ explain how to do this for building both with CMake and make. C++11 standard compliance ------------------------------------------ -The LAMMPS developers plan to transition to make the C++11 standard the -minimum requirement for compiling LAMMPS. Currently this only applies to -some packages like KOKKOS while the rest aims to be compatible with the C++98 -standard. Most currently used compilers are compatible with C++11; some need -to set extra flags to enable C++11 compliance. Example for GNU c++: +A C++11 standard compatible compiler is a requirement for compiling LAMMPS. +LAMMPS version 3 March 2020 is the last version compatible with the previous +C++98 standard for the core code and most packages. Most currently used +C++ compilers are compatible with C++11, but some older ones may need extra +flags to enable C++11 compliance. Example for GNU c++ 4.8.x: .. code-block:: make