CERN ROOT conda recipes

Updated 2 years ago


This repository contains Conda recipes for building CERN ROOT binaries and its dependencies. For the needs of the XENON Dark Matter project, the goal is to provide a "pythonic" interface to the ROOT I/O format, primarily for loading and saving Pandas dataframes in the ROOT format. For this purpose, there are also recipes for building conda binaries of root-numpy and rootpy, the community-driven initiative to provide a more pythonic interface with ROOT on top of the existing PyROOT bindings.

The most most important thing for making things work out of the box is the ABI (binary) compatibility between different gcc(libstdc++)/glibc library versions, on various linux distributions. Typically ROOT would even complain when the GCC headers are not of the same version as the one used for building it, so shipping the full GCC and glibc as a run dependency of ROOT, seemed like the best solution.

Combine this with the fact that ROOT 6 requires GCC>=4.8, while we want things to work on older platforms with no "sudo" required, we decided to fix our GCC distribution to (a relatively recent one) 4.8.2, built against a rather old glibc version 2.12, making it as cross platform as possible.

Working ROOT has been tested on: Ubuntu 11.10, 12.04, 14.04, 15.04, SLC-6.7, SLC-7. Please try it out and let us know if you experience problems.

Thanks upfront for any feedback!