# Evolution of ROOT package management

**Authors:** Oksana Shadura (1), Brian Paul Bockelman (2), Vassil Vassilev (3) ((1), University of Nebraska-Lincoln, (2) Morgridge Institute for Research, (3), Princeton University)

arXiv: 1906.04622 · 2020-08-26

## TL;DR

This paper introduces a modular, delayed build approach for ROOT, enabling a lightweight core with optional extensions, and discusses an improved artifact management system to address dependency issues in large scientific software.

## Contribution

It presents a novel delayed build methodology for ROOT, enhancing modularity and flexibility, and proposes an improved artifact management system to mitigate dependency problems.

## Key findings

- Enhanced modular separation of ROOT packages.
- Successful implementation of delayed build for core and external packages.
- Improved artifact management reduces dependency conflicts.

## Abstract

ROOT is a large code base with a complex set of build-time dependencies; there is a significant difference in compilation time between the "core" of ROOT and the full-fledged deployment. We present results on a "delayed build" for internal ROOT packages and external packages. This gives the ability to offer a "lightweight" core of ROOT, later extended by building additional modules to extend the functionality of ROOT. As a part of this work, we have improved the separation of ROOT code into distinct modules and packages with minimal dependencies. This approach gives users better flexibility and the possibility to combine various build features without rebuilding from scratch.   Dependency hell is a common problem found in software and particularly in HEP software ecosystem. We would like to discuss an improvement of artifact management ("lazy-install") system as a solution to the "dependency hell" problem. HEP software stack usually consists of multiple sub-projects with dependencies. The development model is often distributed, independent and non-coherent among the sub-projects. We believe that software should be designed to take advantage of other software components that are already available, or have already been designed and implemented for use elsewhere rather than "reinventing the wheel". In our contribution, we will present our approach to artifact management system of ROOT together with a set of examples and use cases.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.04622/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1906.04622/full.md

## References

8 references — full list in the complete paper: https://tomesphere.com/paper/1906.04622/full.md

---
Source: https://tomesphere.com/paper/1906.04622