ACM SIGPLAN Notices · 2015 · 16 citations · 7 references
ComputingComputer ScienceComputer SystemsAdaptive ReuseFormal MethodsRequirements EngineeringMaintainability EngineeringSoftware ArchitectureSoftware ConstructionSoftware MaintenanceBuild SystemsBuilder SystemsDependency Graph AnalysisDependency Graph ConstructionDependency Graph ModelingDynamic Graph AnalysisRebuild Algorithms
Build systems are used in all but the smallest software projects to invoke the right build tools on the right files in the right order. A build system must be sound (after a build, generated files consistently reflect the latest source files) and efficient (recheck and rebuild as few build units as possible). Contemporary build systems provide limited efficiency because they lack support for expressing fine-grained file dependencies. We present a build system called pluto that supports the definition of reusable, parameterized, interconnected builders. When run, a builder notifies the build system about dynamically required and produced files as well as about other builders whose results are needed. To support fine-grained file dependencies, we generalize the traditional notion of time stamps to allow builders to declare their actual requirements on a file's content. pluto collects the requirements and products of a builder with their stamps in a build summary. This enables pluto to provides provably sound and optimal incremental rebuilding. To support dynamic dependencies, our rebuild algorithm interleaves dependency analysis and builder execution and enforces invariants on the dependency graph through a dynamic analysis. We have developed pluto as a Java API and used it to implement more than 25 builders. We describe our experience with migrating a larger Ant build script to pluto and compare the respective build times.
7
Building program optimizers with rewriting strategies
Eelco Visser, Zine-el-Abidine Benaissa, Andrew Tolmach · 1998 · 251 citations · Full text
Caching function calls using precise dependencies
Allan Heydon, Roy Levin, Yuan Yu · 2000 · 104 citations
Davide Ancona, Ferruccio Damiani, Sophia Drossopoulou et al. · 2005 · 51 citations
The evolution of ANT build systems
Shane McIntosh, Bram Adams, Ahmed E. Hassan · 2010 · 48 citations