Recipes for building releases of ROOT against Python 3 with pyenv
Building ROOT is one of the most frustrating and time consuming things I have to do on occasion. I have more experience with it than most people in HEP, but I still find it to be a process that can easily take hours of an evening to debug. These recipes should be viewed as case studies of from source builds in a realistic end user environment that actually worked.
All recipes will build ROOT from source using checked out Git tags that correspond to "stable" releases. ROOT doesn't actually follow SemVer though, so best of luck getting truly stable releases. So go ahead and clone the full project from GitHub into your build area
git clone [email protected]:root-project/root.git
The recipes will additionally assume the installation target directory is "${HOME}/bin/root
so make sure to add the following to your .profile
or .bash_profile
# Add ROOT to PATH
if [ -d "${HOME}/bin/root/bin" ] ; then
. "${HOME}/bin/root/bin/thisroot.sh"
fi