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

Bump wasi-sdk to 24 #115

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Bump wasi-sdk to 24 #115

merged 2 commits into from
Dec 5, 2024

Conversation

bhelx
Copy link
Contributor

@bhelx bhelx commented Dec 5, 2024

No description provided.

@bhelx bhelx requested a review from zshipko as a code owner December 5, 2024 16:04
Comment on lines +22 to +27
ARCH=`uname -m`
case "$ARCH" in
ix86*|x86_64*) ARCH="x86_64" ;;
arm64*|aarch64*) ARCH="arm64" ;;
*) echo "unknown arch: $ARCH" && exit 1 ;;
esac
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The download link now contains an architecture? had to add this.

VERSION_MINOR="0"
if [[ "$(uname -s)" == "Darwin" ]]; then
curl --fail --location --silent https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${VERSION_MAJOR}/wasi-sdk-${VERSION_MAJOR}.${VERSION_MINOR}-macos.tar.gz --output $TMPGZ
Copy link
Contributor Author

Choose a reason for hiding this comment

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

--silent also silences errors apparently!

@bhelx
Copy link
Contributor Author

bhelx commented Dec 5, 2024

@zshipko after merging might want to apply this to python-pdk as well

@bhelx bhelx merged commit 7deee64 into main Dec 5, 2024
6 checks passed
@bhelx bhelx deleted the update-wasi-sdk branch December 5, 2024 16:47
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.

2 participants