DOE OSTI · 2223028
Learning to Predict and Improve Build Successes in Package Ecosystems
Abstract
Software has become increasingly complex, with a typical application depending on tens or hundreds of packages. Finding compatible versions and build configurations of these packages is challenging. This paper presents a method to learn the likelihood of software build success, and techniques for leveraging this information to guide dependency solvers to better software configurations. We leverage the heavily parameterized package recipes from the Spack package manager to produce a training data set of builds, and we use Graph Neural Networks to learn whether a given package configuration will build successfully or not. We apply our tool to the U.S. Exascale Computing Project’s software stack. We demonstrate its effectiveness in predicting whether a given package will build successfully. We show that our technique can be used to improve the solutions generated by dependency solvers, reducing the need for developers to find working builds by trial and error.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Menon, Harshitha, Nichols, Daniel, Bhatele, Abhinav, Gamblin, Todd. 2023-11-29. Learning to Predict and Improve Build Successes in Package Ecosystems. https://doi.org/10.2172/2223028
Cite the original work for its findings. Save a collection to share your selection of sources.