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

scripts/xtensa-build-zephyr.py: checksum [sof_]version.h files #6966

Merged
merged 2 commits into from
Jan 26, 2023

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Jan 18, 2023

git describe differences happen, especially when trying to optimize cloning and this is for instance what happened in
#6950 (comment) where zephyr tags were fetched on Linux but not on Windows

This also makes plain git version differences more obvious; no need to scroll all the way up and scan the build logs.

Signed-off-by: Marc Herbert [email protected]

`git describe` differences happen, especially when trying to optimize
cloning and this is for instance what happened in
thesofproject#6950 (comment)
where zephyr tags were fetched on Linux but not on Windows

This also makes plain git version differences more obvious; no need to
scroll all the way up and scan the build logs.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Jan 18, 2023

@marc-hb marc-hb marked this pull request as ready for review January 18, 2023 23:36
@marc-hb marc-hb requested a review from aborisovich as a code owner January 18, 2023 23:36
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aborisovich good for Windows ?

@marc-hb
Copy link
Collaborator Author

marc-hb commented Jan 20, 2023

While @aborisovich 's review is always desired, this change is 100% OS-independent and the Windows builds in https://github.com/thesofproject/sof/actions/runs/3953435969/jobs/6769706666 show the versions .h files checksummed as expected.

When using --fw-naming AVS the .ri file is renamed to `dsp_basefw.bin`.

Also explain why it's still useful to identify non-deterministic images.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb marc-hb force-pushed the checksum-version-h branch from 3363355 to 7014a0e Compare January 25, 2023 01:42
@kv2019i kv2019i merged commit a5dfa56 into thesofproject:main Jan 26, 2023
@marc-hb marc-hb deleted the checksum-version-h branch January 26, 2023 18:25
@aborisovich
Copy link
Contributor

While @aborisovich 's review is always desired, this change is 100% OS-independent and the Windows builds in https://github.com/thesofproject/sof/actions/runs/3953435969/jobs/6769706666 show the versions .h files checksummed as expected.

Sorry guys, I've been on vacation, returning on Monday :-)

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.

5 participants