Module build

Module build 

Source
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

  1. Create build sandboxes (one per build_threads)
  2. Execute pre-build script in each sandbox
  3. Build packages in parallel, respecting dependencies
  4. Execute post-build script after each package
  5. Destroy sandboxes and generate report

§Build Phases

Each package goes through these phases in turn:

  • pre-clean - Clean any previous build artifacts
  • depends - Install required dependencies
  • checksum - Verify distfile checksums
  • configure - Configure the build
  • build - Compile the package
  • install - Install to staging area
  • package - Create binary package
  • deinstall - Test package removal (non-bootstrap only)
  • clean - Clean up build artifacts

Structs§

Build
BuildCounts
Counts of build results by outcome category.
BuildOptions
Options that control build behavior.
BuildResult
Result of building a single package.
BuildSummary
Summary of an entire build run.

Enums§

BuildOutcome
Outcome of a package build attempt.