Mini ROOT for selected libraries

Pre-compiled binaries dont work universally. A full build of ROOT from source takes 2-6 hours (depending on processor speed). For quick action in student classrooms I am interested in a Makefile that does not make CINT, but only a few selected libraries (e.g. only -lCore -lRIO -lTree) so that I can demo a code that links to these libraries. Given the complexity of the ROOT source tree and cmake, I wasn’t able to figure this out. Any help in this direction would be appreciated.


You can try with cmake -Dminimal=On which removed unneeded packages. (Cling is needed.)

For us, remote Jupyter notebook or virtual machines worked pretty well in the past for training. Maybe those are options?


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.