apache / apache/buildstream

Ability to manually optimize build graph

Open
#942 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
140
Forks
45
Avg merge
1d 3h
Merged PRs (30d)
6

Description

[See original issue on GitLab](https://gitlab.com/BuildStream/buildstream/-/issues/942)
In GitLab by [[Gitlab user @nanonyme]](https://gitlab.com/nanonyme) on Mar 3, 2019, 14:21

This is mostly a request for comments at this point. There's some exceptional build items (read: take very long to compile) in freedesktop-sdk like LLVM that are the reverse dependencies of many things and as a consequence you'd want to to start compiling them as early as possible. In other words, not all elements are really equal.

Should BuildStream expose some tools (eg element priority) to projects to be able to have more control over element build order? Is it already in current element model possible to affect that without adding artificial dependencies?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing BuildStream's current element model and build-graph scheduling behavior, as well as the original GitLab issue. Determine whether element priority or another supported mechanism can influence build order without artificial dependencies. Done should mean the project has a defined, implementable way to prioritize exceptional long-running elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.