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
- Host: GitHub
- URL: https://github.com/matthewfeickert/root-build-recipes
- Owner: matthewfeickert
- License: mit
- Created: 2021-02-25T18:33:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T07:57:53.000Z (about 2 years ago)
- Last Synced: 2025-04-03T18:54:43.750Z (about 1 year ago)
- Topics: build, cmake, recipe, root-cern
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```