Require C++17 standard and STL features.
[alexxy/gromacs.git] / docs / release-notes / 2021 / major / portability.rst
1 Portability
2 ^^^^^^^^^^^
3
4 Python environment
5 """"""""""""""""""
6
7 Where Python is required,
8 `CPython <https://www.python.org>`__ versions 3.6 to 3.8 are supported.
9
10 CMake now detects Python using
11 `FindPython3 <https://cmake.org/cmake/help/v3.13/module/FindPython3.html>`__.
12 If you previously used ``PYTHON_EXECUTABLE`` to hint the location of the Python
13 interpreter, you should instead specify the Python "root" or "prefix" path
14 (the directory containing ``./bin/python3``) with CMake variable
15 ``Python3_ROOT`` or ``CMAKE_PREFIX_PATH``. As other infrastructure evolves,
16 ``PYTHON_EXECUTABLE`` may cease to have the desired effect without warning.
17
18 .. Note to developers!
19    Please use """"""" to underline the individual entries for fixed issues in the subfolders,
20    otherwise the formatting on the webpage is messed up.
21    Also, please use the syntax :issue:`number` to reference issues on GitLab, without the
22    a space between the colon and number!
23
24 CMake
25 """""
26
27 Updated required CMake version to 3.13.
28
29 C++ standard
30 """"""""""""
31
32 GROMACS has updated the required C++ standards compliance from C++14 to C++17,
33 and requires 2017 standard library features. See the install guide for details.