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

zephyr/cmake: fix llext.uuid growing from the last build #9159

Merged
merged 3 commits into from
May 27, 2024

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented May 23, 2024

3 small LLEXT fixes. Main one:

Reset the llext.uuid file so it does not start with content from the
previous build.

Fixes incremental builds.

Reset the llext.uuid file so it does not start with content from the
previous build.

Fixes LLEXT incremental builds which apparently never worked (some
people like it slow?)

Fixes commit 05e69e1 ("llext: update to use add_llext_target()")
and the ones before that.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Delete per-platform, "build-sof-staging/sof/intel/sof-ipc4-lib/mtl/"
directories every time just like we've always done it for
"build-sof-staging/sof/intel/sof-ipc4/mtl/". This is especially
important considering the new LLEXT complexity, symbolic links etc.

There is no way the build can be smart enough and extend "incremental"
builds to the staging directory.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Even with the cryptographic salt, the ability to match a download with
the corresponding build log is still useful.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb marc-hb marked this pull request as ready for review May 23, 2024 01:53
@marc-hb
Copy link
Collaborator Author

marc-hb commented May 23, 2024


19:43:42,018 INFO  - INTERNALERROR> File "/usr/local/lib/python3.12/dist-packages/execnet/gateway_socket.py", line 92, in create_io
19:43:42,018 INFO  - INTERNALERROR> sock.connect((host, port))
19:43:42,018 INFO  - INTERNALERROR> ConnectionRefusedError: [Errno 111] Connection refused

@marc-hb marc-hb requested review from lyakh and kv2019i May 23, 2024 03:18
Copy link
Collaborator

@lyakh lyakh left a comment

Choose a reason for hiding this comment

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

thanks for fixing my crude file-removal code ;-)

@kv2019i
Copy link
Collaborator

kv2019i commented May 23, 2024

Pending pass from mandatory CI jobs, otherwise good to go.

@marc-hb
Copy link
Collaborator Author

marc-hb commented May 23, 2024

Pending pass from mandatory CI jobs, otherwise good to go.

@wszypelt , @lrudyX can you please re-run https://sof-ci.01.org/sof-pr-viewer/#/build/PR9159/build13991832 where LNL failed with unrelated "connection refused"? This PR should not affect these tests in any way.

@wszypelt
Copy link

@marc-hb all green :)

@kv2019i kv2019i merged commit e0701e5 into thesofproject:main May 27, 2024
43 of 46 checks passed
@marc-hb marc-hb deleted the reset-uuid.llext branch May 28, 2024 18:49
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