Skip to content

xtensa-build-zephyr.py: build rimage with -GNinja by default - #6732

Merged
lgirdwood merged 2 commits into
thesofproject:mainfrom
marc-hb:rimage-ninja
Dec 7, 2022
Merged

xtensa-build-zephyr.py: build rimage with -GNinja by default#6732
lgirdwood merged 2 commits into
thesofproject:mainfrom
marc-hb:rimage-ninja

Conversation

@marc-hb

@marc-hb marc-hb commented Dec 6, 2022

Copy link
Copy Markdown
Collaborator

2 commits

Very small change saves a couple seconds when building from scratch on Linux

It's pointless and hardcodes the CMake generator.

Also remove wrong comment added in commit
6cba64d ("xtensa-build-zephyr.py: fix a few minor pylint warnings")
The rimage part of the comment was flat out wrong.
The smex part of the comment is correct but in the wrong place.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This saves a couple seconds when building from scratch on Linux.

On Linux the default CMake generator is "Makefiles" which is _not_
parallel by default.

Thanks to the previous commit it's still possible to manually switch to
"Makefiles" if desired.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb

marc-hb commented Dec 6, 2022

Copy link
Copy Markdown
Collaborator Author

The ModuleNotFoundError: No module named 'google.cloud.datastore_v1.services' error in https://github.com/thesofproject/sof/actions/runs/3633374655/jobs/6130315097 is obviously unrelated. @andyross , @cujomalainey ?

Everything else is green.

@marc-hb
marc-hb marked this pull request as ready for review December 6, 2022 22:16
@marc-hb
marc-hb requested a review from aborisovich as a code owner December 6, 2022 22:16
@lgirdwood

Copy link
Copy Markdown
Member

@aborisovich good for Windows ?

@miRoox

miRoox commented Dec 7, 2022

Copy link
Copy Markdown

The ModuleNotFoundError: No module named 'google.cloud.datastore_v1.services' error in https://github.com/thesofproject/sof/actions/runs/3633374655/jobs/6130315097 is obviously unrelated.

It looks like a temporary network issue, I clicked "Rerun failed job" and it got fixed.

@lgirdwood
lgirdwood merged commit 280dca9 into thesofproject:main Dec 7, 2022
@marc-hb
marc-hb deleted the rimage-ninja branch December 8, 2022 01:07
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