Expand description
Parallel package builds.
This module provides the Build struct for building packages in parallel
across multiple sandboxes. Packages are scheduled using a dependency graph
to ensure correct build order.
§Build Process
- Create build sandboxes (one per
build_threads) - Execute pre-build script in each sandbox
- Build packages in parallel, respecting dependencies
- Execute post-build script after each package
- Destroy sandboxes and generate report
§Build Phases
Each package goes through these phases in turn:
pre-clean- Clean any previous build artifactsdepends- Install required dependencieschecksum- Verify distfile checksumsconfigure- Configure the buildbuild- Compile the packageinstall- Install to staging areapackage- Create binary packagedeinstall- Test package removal (non-bootstrap only)clean- Clean up build artifacts
Structs§
- Build
- Parallel package build orchestrator.
- Build
Counts - Counts of build results by outcome category.
- Build
Result - Result of building a single package.
- Build
Summary - Summary of an entire build run.
Enums§
- Build
Outcome - Outcome of a package build attempt.
- Build
Reason - Reason why a package needs to be built.
Functions§
- pkg_
up_ to_ date - Check if a package binary is up-to-date with its sources.