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.4.dev0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138118e45d291871348265c7e79a9efa1d1401b085594572e2667967a5e5d05e |
|
MD5 | a317f7e79991de10d08cb6fb5f0d3588 |
|
BLAKE2b-256 | e09cb07be44ea00ba51426855298a1fb31ccb7b849ef72ff3862e5e0a09ae0af |
Hashes for BuildStream-1.95.4.dev0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13d9bbaf455637c893236087e72dcbb0ee6c862aa3ec5e28917c259fff53ab29 |
|
MD5 | ce89683eb2b75f84422ea26810440fb5 |
|
BLAKE2b-256 | 9ca65258abe00ec4e0a9ba59772087c12adaaac1c386af378e931a1657387a9a |
Hashes for BuildStream-1.95.4.dev0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eb204184ec79b0a18ddc3be9339eed27a57be3defc0c59eb7412e36bebc9386 |
|
MD5 | 126d633d75eda060abb1dfbbc4298f75 |
|
BLAKE2b-256 | d697a8c5f39d587f9751854cf034d7d3c304aae9c76b11c0b1a154579b6f8bda |
Hashes for BuildStream-1.95.4.dev0-cp37-cp37m-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578a32a55e78b57cba06c7fce44d6cbf3f9de7ca64af544f508783171757c24e |
|
MD5 | 5735e24305156ac14febbeff3a17d9a7 |
|
BLAKE2b-256 | 6300704c44062e8162f5e2d82ef6b5e5128ddf7eafc435cb55f51038ad043634 |