Repository navigation
⚡ (patch) Split Cortex-M LLVM deploys into three jobs - #132
Merged
Merged
Conversation
A libhal-util 6.0.0-alpha.1 deploy hit the 45 minute Cortex-M timeout: each of its two LLVM jobs built 18-24 packages at about 110 seconds each. Half of that time was the test_package, which rebuilds every imported C++ module (mp-units, libhal, libhal-util) to link one program. - The deploy's LLVM cores are built in three jobs instead of two, with each job's cores listed in the Plan job: M0-M4, M4F-M23 and M33-M85. - baremetal_package.sh only runs the test_package for the first package it builds. Later packages pass --test-folder "".
kammce
force-pushed
the
deploy-three-llvm-groups
branch
from
October 18, 2026 21:22
402ab03 to
68703e3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Speeds up Cortex-M deploys so they fit the 45-minute timeout from #130.
Why
The libhal-util
6.0.0-alpha.1deploy (run 39161198643) wasn't hung: its M0-M7 LLVM job was on package 16 of 24 when the timeout hit. Each package took about 110 seconds:test_packageChanges
Three LLVM jobs: the deploy's LLVM Cortex-M cores are built in three jobs instead of two. Each job's cores are written out in the Plan job:
M0-M4M4F-M23M33-M85Test package once per job:
baremetal_package.shrunstest_packageonly for the first package it builds. Later packages pass--test-folder "", which skips it. Linking against the package is still tested once per job.README: updated to match.
Check runs are unchanged: one "M sample" job.
Testing
baremetal_package.sh: dry-run locally. Only the firstconan createruns without--test-folder "".