Builds and caches the compiler components that native and firmware builds compile against. More...
| Header: | #include <toolchain> |
| Since: | Phase 20a |
(since Phase 20a) class | BootstrapWorker |
(since Phase 20c) class | CompilerInterface |
(since Phase 20c) struct | Component |
(since Phase 20a) struct | ComponentArtefact |
(since Phase 20c) struct | ComponentBuildContext |
(since Phase 20a) class | Manifest |
(since Phase 20c) class | NullCompilerInterface |
(since Phase 20a) class | SysrootHandle |
(since Phase 20c) struct | Toolchain |
(since Phase 20a) class | ToolchainBootstrapService |
(since Phase 20a) class | ToolchainRegistry |
libtoolchain assembles a toolchain for a target from components such as compiler-rt, avr-libc and captured C++ headers. ToolchainBootstrapService builds each component in the background, keeps the results in an on-disk cache, and hands a consumer a SysrootHandle when every component it needs is ready.
Single worker thread that runs Component recipes serially. More...
Abstraction over the underlying compiler/archiver. More...
One buildable toolchain component (compiler-rt, avr-libc, etc.). More...
What one built or staged Component contributes to a SysrootHandle. More...
Per-build state handed to each Component's recipe callable. More...
On-disk JSON record of every component's bootstrap state. More...
Test/fixture compiler that records calls without doing real work. More...
Consumer-facing aggregate of every component a Toolchain depends on. More...
Top-level manifest for one assembled toolchain. More...
Lazy + async orchestration of every toolchain's component builds. More...
Process-wide registry of every Component + Toolchain shipped with OctoMY. More...