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

sound-open-firmware: restore build, semantic fix and enable UBSAN #12607

Merged
merged 6 commits into from
Oct 31, 2024

Conversation

cujomalainey
Copy link
Contributor

No description provided.

Copy link

cujomalainey is either the primary contact or is in the CCs list of projects/sound-open-firmware.
cujomalainey has previously contributed to projects/sound-open-firmware. The previous PR was #12384

projects/sound-open-firmware/Dockerfile Outdated Show resolved Hide resolved

git clone --filter=tree:0 https://github.com/zephyrproject-rtos/sdk-ng
RELEASES=$(curl -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/zephyrproject-rtos/sdk-ng/releases)
SDK=$(jq '[.[] | select(.prerelease == false) | {tag: .tag_name, assets: .assets[] | select(.name | contains("linux-x86_64_minimal.tar.xz"))}] | .[0]' <<< $RELEASES)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is much cleaner than the original for sure. My facility with github API hacking and jq are both at the "well, I know those tools exist" level.

@cujomalainey
Copy link
Contributor Author

im going to drop the arch 64 build since it appears to be causing problems.

Fetching via tag can sometimes leave us in a state where the release has
been created but the actual assets have not been published. It also
means that we are using pre-releases which is not always desirable.
Using the Github API for a lookup resolves this issue.
Borrow some snippets from the connectedhomeip project and pull in
python3.10 to satisfy zephyr constraints.
Future work to enable 64 bit builds
@cujomalainey
Copy link
Contributor Author

Fixed the coverage build by landing a config change in the source repo, this should be good to go now.

Copy link
Contributor

@andyross andyross left a comment

Choose a reason for hiding this comment

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

refresh +1

Copy link
Contributor

@vitorguidi vitorguidi left a comment

Choose a reason for hiding this comment

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

lgtm

@vitorguidi vitorguidi merged commit 326d8e8 into google:master Oct 31, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants