An open API service indexing awesome lists of open source software.

https://github.com/matthewfeickert/root-build-recipes

Recipes for building releases of ROOT with Python 3 from pyenv
https://github.com/matthewfeickert/root-build-recipes

build cmake recipe root-cern

Last synced: about 1 year ago
JSON representation

Recipes for building releases of ROOT with Python 3 from pyenv

Awesome Lists containing this project

README

          

# ROOT build recipes

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](https://gitlab.cern.ch/atlas-amglab/atlstats), 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](https://github.com/root-project/root) into your build area

```
git clone git@github.com: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`

```bash
# Add ROOT to PATH
if [ -d "${HOME}/bin/root/bin" ] ; then
. "${HOME}/bin/root/bin/thisroot.sh"
fi
```