We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5132

Summary: Replace asmjs with wasm for Emscripten builds
Product: SDL Reporter: Caleb Cornett <spydog>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 Keywords: target-2.0.14
Version: 2.0.13   
Hardware: Other   
OS: Linux   

Description Caleb Cornett 2020-05-13 01:12:58 UTC
Since asm.js has been effectively superseded by WebAssembly, it would be nice to have Buildbot generate wasm archives instead of asmjs.

If I understand correctly, the only change required to SDL's source would be in build-scripts/emscripten-buildbot.sh: "--host=asmjs-unknown-emscripten" would become "--host=wasm-unknown-emscripten".

The emsdk on the Buildbot machine may need to be updated as well.
Comment 1 Ryan C. Gordon 2020-05-13 02:16:39 UTC
Agreed, it’s time to do this. Everything either supports wasm now or isn’t going to be useful with asm.js anyhow.

—-ryan.
Comment 2 Ryan C. Gordon 2020-05-18 16:03:20 UTC
I changed this in https://hg.libsdl.org/SDL/rev/dc7142e7b47e, but the buildbot is being upgraded right now, so stay tuned for that!

--ryan.