Create a bazel build element
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system
Research direction
Start with the linked GitLab issue and its Background and Task description. Map the existing BuildStream element entry points before designing sandboxed Bazel execution, recursive dependency handling, WORKSPACE generation, persistent cache mounting, and target-platform toolchain generation; done means these requirements are supported together.
Written by the indexing model from the issue text.
Description
See original issue on GitLab
In GitLab by [Gitlab user @edbaunton] on Jul 30, 2018, 16:20
Background
Create an element that provides support for building with bazel.
Specifically, a bst would declare itself of kind bazel and BuildStream would take care of generating the WORKSPACE file by recursively scanning the dependencies of the element being built.
Task description
bazelwould be executed inside the sandbox (not using a host tool)- The workspace file would identify the built sources to consume with
new_local_repositoryrules; if it encounters a dependency of typebazelit would stage the sources rather than the binaries and consume theBUILDfile to leveragebazel. bazelwould need access to a persistent disk cache (use_set_mount_source?) between BuildStream runs so as to take advantage of its built in caching. Thebazelserver will actually be torn down between runs but it is said to serialize its state between runs so the startup time will no be prohibitive.- Toolchain generation: we need to generate correct toolchain for the target platform and have that be considered as part of the key for the element.
- Dominant language
- Python
- Stars
- 8
- Forks
- 16
- Avg merge
- 36m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/buildstream-plugins
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/buildstream-plugins#110 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/buildstream-plugins#108 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in apache/buildstream-plugins
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100