A framework for modelling build pipelines in YAML
Project description
What is BuildStream?
BuildStream is a Free Software tool for building/integrating software stacks. It takes inspiration, lessons and use-cases from various projects including OBS, Reproducible Builds, Yocto, Baserock, Buildroot, Aboriginal, GNOME Continuous, JHBuild, Flatpak Builder and Android repo.
BuildStream supports multiple build-systems (e.g. autotools, cmake, cpan, distutils, make, meson, qmake), and can create outputs in a range of formats (e.g. debian packages, flatpak runtimes, sysroots, system images) for multiple platforms and chipsets.
Why should I use BuildStream?
BuildStream offers the following advantages:
Declarative build instructions/definitions
BuildStream provides a flexible and extensible framework for the modelling of software build pipelines in a declarative YAML format, which allows you to manipulate filesystem data in a controlled, reproducible sandboxed environment.
Support for developer and integrator workflows
BuildStream provides traceability and reproducibility for integrators handling stacks of hundreds/thousands of components, as well as workspace features and shortcuts to minimise cycle-time for developers.
Fast and predictable
BuildStream can cache previous builds and track changes to source file content and build/config commands. BuildStream only rebuilds the things that have changed.
Extensible
You can extend BuildStream to support your favourite build-system.
Bootstrap toolchains and bootable systems
BuildStream can create full systems and complete toolchains from scratch, for a range of ISAs including x86_32, x86_64, ARMv7, ARMv8, MIPS.
How do I use BuildStream?
Please refer to the documentation for information about installing BuildStream, and about the BuildStream YAML format and plugin options.
How does BuildStream work?
BuildStream operates on a set of YAML files (.bst files), as follows:
Loads the YAML files which describe the target(s) and all dependencies.
Evaluates the version information and build instructions to calculate a build graph for the target(s) and all dependencies and unique cache-keys for each element.
Retrieves previously built elements (artifacts) from a local/remote cache, or builds the elements in a sandboxed environment using the instructions declared in the .bst files.
Transforms/configures and/or deploys the resulting target(s) based on the instructions declared in the .bst files.
How can I get started?
To get started, first install BuildStream by following the installation guide and then follow our tutorial in the user guide.
We also recommend exploring some existing BuildStream projects:
If you have any questions please ask on our #buildstream channel in irc.gnome.org
Availability in distros
BuildStream:
BuildStream external plugins (bst-external)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for BuildStream-1.95.2.dev0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d272fd15c10e3102757b63574629a8b0ac9f4f1500c5e1be85868cedf1ced6e3 |
|
MD5 | ff3b62e231a37b84bd280994c50fe649 |
|
BLAKE2b-256 | 641fe487d39def62e845b9948dc3d29f31e07e2ea8c0d5b83aaf3bd59887bf8e |
Hashes for BuildStream-1.95.2.dev0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b70a31a308f1eda0cdd1c1c45597f50741a7d776de0a8aaf19792f497a455fdd |
|
MD5 | 866127af866cb415de5947ec903fe4a7 |
|
BLAKE2b-256 | 803f910c934d1d57560309744bcf09fd7beb112757dcecbaecf1d7303f6fa72e |
Hashes for BuildStream-1.95.2.dev0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be497c7c198fbf022d35a7d5d69811a55da9e0f4da755d0e0ffcb11cafae7e5f |
|
MD5 | 238e600b2479c8df40e292762a114b96 |
|
BLAKE2b-256 | c84a44f077f7c724573407ba138e775bcebf051abf3ab91ee5d5d9bb929eee93 |
Hashes for BuildStream-1.95.2.dev0-cp37-cp37m-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c116c944643e1d471360a70a6c690ef6c597c7674295182a7e7bb0aecb9947 |
|
MD5 | 914ba88e9e4ecb8e783579b52b5c783d |
|
BLAKE2b-256 | 4d069a5c243eaf20428a0787c780c557343fec56a2a591be35b95d282812a216 |