Minimum Size Build Environment Sets and Graph Coloring

Stephen Tate, Bo Yuan

2022

Abstract

In this paper, we formalize the problem of designing build environments for large-scale software build and analysis, addressing issues with dependencies and conflicts between components required for each source package. We show that this problem can be fully captured by constructing a graph, which we call the “con-flict graph,” from dependency and conflict information, and then finding a minimum set of build environments corresponds exactly to finding minimum colorings of the conflict graph. As graph coloring is an NP-hard problem, we define several graph simplifications that can reduce the size of the graph, to improve the performance of heuristic coloring algorithms. In experimental results, we explore basic conflict graph metrics over time for various releases of the Ubuntu Linux distribution, and examine coloring results for the latest LTS release (Ubuntu 20.04). We find that small numbers of build environments are sufficient for building large numbers of packages, with 4 different environments sufficient for building the 1000 most popular source packages, and 11 build environments sufficient for building all 30,646 source packages included in Ubuntu 20.04.

Download


Paper Citation


in Harvard Style

Tate S. and Yuan B. (2022). Minimum Size Build Environment Sets and Graph Coloring. In Proceedings of the 17th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-588-3, pages 57-67. DOI: 10.5220/0011263200003266


in Bibtex Style

@conference{icsoft22,
author={Stephen Tate and Bo Yuan},
title={Minimum Size Build Environment Sets and Graph Coloring},
booktitle={Proceedings of the 17th International Conference on Software Technologies - Volume 1: ICSOFT,},
year={2022},
pages={57-67},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011263200003266},
isbn={978-989-758-588-3},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 17th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - Minimum Size Build Environment Sets and Graph Coloring
SN - 978-989-758-588-3
AU - Tate S.
AU - Yuan B.
PY - 2022
SP - 57
EP - 67
DO - 10.5220/0011263200003266