You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WASI build fails on both SDK 20 and 21 (Mac OS) #114736
Hey sorry for the late reply. I did try wasi.py build first and it failed so I ran the steps individually. I'll re-run it and check the config.log and get back to you!
Activity
brettcannon commentedon Jan 30, 2024
Are you trying to build Python 3.11 using
Tools/wasm/wasi.py(based on the "versions tested")? If so, that script has not been tested on anything butmain, so you would need to use https://github.com/python/cpython/blob/3.11/Tools/wasm/wasm_build.py instead.I've also only made sure a WASI build works under WASI-SDK 20 w/ wasmtime under preview 1 so far, so 21 isn't confirmed to work yet.
brettcannon commentedon Jan 30, 2024
You can also look at
config.logto see it it says anything interesting.brettcannon commentedon Jan 30, 2024
And did you try using
wasi.py buildfirst? I.e. did the build Python steps succeed and is there a specific reason you're doing it in discrete steps?thesuhas commentedon Feb 19, 2024
Hey sorry for the late reply. I did try
wasi.py buildfirst and it failed so I ran the steps individually. I'll re-run it and check theconfig.logand get back to you!pythonGH-114736: Use WASI SDK 21
GH-114736: Use WASI SDK 21 (GH-116771)
hugovk commentedon Mar 14, 2024
Can this be closed now #116771 has been merged?
brettcannon commentedon Mar 14, 2024
Yep! I was waiting for the PR to merge (the macOS runners were taking so long I had to log off before CI finished).
pythonGH-114736: Use WASI SDK 21 (pythonGH-116771)
pythonGH-114736: Use WASI SDK 21 (pythonGH-116771)
pythonGH-114736: Use WASI SDK 21 (pythonGH-116771)