

If no option is specified, PyROOT will be built for the most recent Python3 and Python2 versions that CMake can find. The following pure Python modules will appear as well: 3.8, 2.7, etc.) the following libraries will appear both in the build directory and in the installation directory: For each Python version X.Y used to build PyROOT (e.g. In this case, PyROOT libraries are built by default with both Python3 and Python2. In the following, build and installation processes both with CMake >= 3.14 and = 3.14 The main feature introduced in v6.22 concerning the PyROOT build system is the possibility to build for both Python3 and Python2 (MultiPython), available only if the version of CMake used to build is >= 3.14.

In the following the main aspects are summarized for both after and before v6.22. PyROOT, the set of Python bindings of ROOT, changed its structure and build/installation process in v6.22. Must be compiled with the same C++ standard with which ROOT was compiled.Īlso note that compatibility with compilers shipped with devtoolsets on CentOS or Red Hat is not guaranteed. bashrc or equivalent configuration file.Īs it makes use of a C++ interpreter, ROOT has somewhat stricter requirements than other C++ libraries: applications that depend on ROOT To have ROOT setup automatically at each login, that command can be appended to a. $ source /bin/thisroot.sh # also available for other shells: thisroot.csh, thisroot.fish, thisroot.bat
Cmake option download#
