Skip to content
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

app/prj.conf: stop disassembling by default - 2x faster build #8825

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Feb 1, 2024

... keep disassembling in github actions.

2 commits, see commit messages.

Force -DCONFIG_OUTPUT_DISASSEMBLY=y when building Zephyr to make sure
the disassembly is compared between the Windows and Linux builds.

Signed-off-by: Marc Herbert <[email protected]>
This reverts 8f60180 ("app: enable OUTPUT_DISASSEMBLY for Zephyr
builds")

The disassembly is useful in some contexts but can't be parallelized and
takes an enormous amount of time. On my system OUTPUT_DISASSEMBLY
almost doubles the compilation time!

Quoting Zephyr commit cc5763344709:

> This on-by-default option takes the majority of "link" time. If people
> need the disassembly, they can turn it on.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb marc-hb changed the title app/prj.conf: stop disassembling by default app/prj.conf: stop disassembling by default - 2x faster build Feb 1, 2024
@marc-hb marc-hb marked this pull request as ready for review February 1, 2024 04:06
@marc-hb
Copy link
Collaborator Author

marc-hb commented Feb 1, 2024

@kv2019i kv2019i merged commit dd8b932 into thesofproject:main Feb 2, 2024
40 of 44 checks passed
@marc-hb marc-hb deleted the no-default-disa branch February 2, 2024 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants