Uh oh!
There was an error while loading. Please reload this page.
[SKIP CI] .github/zephyr: compare Windows and Linux builds - #6950
Conversation
a32c62e to
8b74913CompareFirmware differences between Linux and Windows found in https://github.com/thesofproject/sof/actions/runs/3908863755/jobs/6679699349 should be all fixed by #6920 |
lgirdwood
commented
Jan 18, 2023
|
marc-hb
commented
Jan 18, 2023
Windows and Linux have a different zephyr Most likely my fault: commit 68b49c1 |
`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 <marc.herbert@intel.com>
ac6c555 to
acc1433CompareFetching different tags causes `git describe` output to be different. Fixes commit 68b49c1 (".github/zephyr: switch Windows build to west update --narrow") Signed-off-by: Marc Herbert <marc.herbert@intel.com>
deb3252 to
81c30deCompareAll tests passing now. Binaries generated by Windows and Linux are compared and found identical in https://github.com/thesofproject/sof/actions/runs/3954767889/jobs/6772604198 EDIT: and again in newer https://github.com/thesofproject/sof/actions/runs/3963690378/jobs/6791978755 |
aborisovich
commented
Jan 20, 2023
I remember that I did not made |
aborisovich
left a comment
There was a problem hiding this comment.
Looks great @marc-hb, I'm really glad the output we have on both OSes is the same.
Found a typo, please fix. And some minor things
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
marc-hb
left a comment
There was a problem hiding this comment.
Thanks for the review, see answers below.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The End. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Make CONFIG_BUILD_OUTPUT_STRIPPED mandatory so we can always compare builds. It makes practically zero build space and time difference and has huge reproductibility value, see discussion in zephyrproject-rtos/zephyr#51954 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
`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 <marc.herbert@intel.com>
The End.
This makes sure Windows builds and Linux builds produce identical binaries.
Signed-off-by: Marc Herbert marc.herbert@intel.com