-
Notifications
You must be signed in to change notification settings - Fork 8.1k
scripts: gen_boards_catalog.py: add verbose flag to Twister #97733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Pass verbose flag to Twister to get better insights into what boards are being built and see progress. Signed-off-by: Benjamin Cabé <[email protected]>
|
| *[arg for path in EDT_PICKLE_PATHS for arg in ('--keep-artifacts', path)], | ||
| *[arg for path in RUNNERS_YAML_PATHS for arg in ('--keep-artifacts', path)], | ||
| "--cmake-only", | ||
| "-v", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add "-j 16" or maybe "-j 32"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on my tests I don't think it's necessary - while it might be an issue for "real" Twister test runs, -j 96 seems to be just fine for the CMake-only hello world builds, and not noticeably faster/slower than e.g. -j32
What I would love to know though is why the Sphinx part of the build is so slow, despite Sphinx being given 8 threads. In fact it's even slower with more threads, and (marginally) faster with e.g 4. It looks like there is some kind of bottleneck somewhere (filesystem??) and I really hope @stephanosio maybe has an idea about what might be going on. FWIW while the Twister stuff is done in like 2m30s, the sphinx part is actually slower than we had on the Github runner!(?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the sphinx part is actually slower than we had on the Github runner!(?)
Are you sure? 4xlarge zephyr-runners are allocated 16 vCPUs, 32GB RAM and have local NVMe SSDs for storage; so, they should not be any slower than the GitHub-hosted runners ... if any, they should be faster.



Pass verbose flag to Twister to get better insights into what boards are being built and see progress.