Using build history information to optimize a software build process
AssigneeInternational Business Machines Corporation
InventorsJames M. Bonanno, Ronald P. Doyle, Michael L. Fraenkel, Aaron J. Tarter
Life of this patent
Estimating the term…
Abstract
Methods and systems for optimizing a build order of component source modules comprises creating a dependency graph based on dependency information. Historical build information associated with previous build failures is then used to calculate relative failure factors for paths of the dependency graph; and the relative failure factors are used to determine an order of traversal of the dependency graph during a build process in which component binary modules are built from the component source modules.
Claims20
A computer-implemented method for optimizing a build order of component source modules, comprising:
- creating a dependency graph based on dependency information;
- calculating, using historical build information associated with previous build failures, relative failure factors for paths of the dependency graph;
- and
- determining, by comparing the relative failure factors, an order of traversal of the dependency graph during a build process, wherein
- component binary modules are built from the component source modules during the build process, and
- a relative failure factor for a particular path is based upon a percentage of past failures for a particular component source module in the particular path.
A computer hardware system configured to optimize a build order of component source modules, comprising:
- at least one hardware processor configured to initiate the following executable operations:
- creating a dependency graph based on dependency information;
- calculating, using historical build information associated with previous build failures, relative failure factors for paths of the dependency graph;
- and
- determining, by comparing the relative failure factors, an order of traversal of the dependency graph during a build process, wherein
- component binary modules are built from the component source modules during the build process, and
- a relative failure factor for a particular path is based upon a percentage of past failures for a particular component source module in the particular path.
A computer program product, comprising:
- a computer usable hardware storage device having stored therein computer usable program instructions for optimizing a build order of component source modules,
- the computer usable program instructions, which when executed on a computer hardware system, causes the computer hardware system to perform:
- creating a dependency graph based on dependency information;
- calculating, using historical build information associated with previous build failures, relative failure factors for paths of the dependency graph;
- and
- determining, by comparing the relative failure factors, an order of traversal of the dependency graph during a build process, wherein
- component binary modules are built from the component source modules during the build process, and
- a relative failure factor for a particular path is based upon a percentage of past failures for a particular component source module in the particular path.
Dependencies are inferred from the claim text.