arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.04622cs.SE
收藏

ROOT包管理的发展

Evolution of ROOT package management

Oksana Shadura, Brian Paul Bockelman, Vassil Vassilev

摘要:

ROOT是一个庞大的代码库,具有一组复杂的构建时依赖关系; ROOT的“核心”和全面部署之间的编译时间有很大的差异。我们目前的内部ROOT包和外部包的“延迟构建”的结果。这使得能够提供一个“轻量级”的ROOT核心,随后通过构建额外的模块来扩展ROOT的功能。作为这项工作的一部分,我们改进了将ROOT代码分离为具有最小依赖性的不同模块和包。这种方法为用户提供了更好的灵活性,并且可以组合各种构建功能,而无需从头开始重新构建。依赖性是软件中,特别是HEP软件生态系统中常见的问题。我们想讨论工件管理(“延迟安装”)系统的改进,作为“依赖地狱”问题的解决方案。HEP软件栈通常由多个具有依赖关系的子项目组成。开发模式往往是分散的,独立的和不连贯的子项目。我们认为,软件的设计应利用现有的其他软件组件,或已设计和实施用于其他地方的软件组件,而不是“重新发明轮子”。在我们的贡献中,我们将介绍我们的方法与一组示例和用例一起ROOT的工件管理系统。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑