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 - Replace asmjs with wasm for Emscripten builds
Summary: Replace asmjs with wasm for Emscripten builds
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.13
Hardware: Other Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.14
Depends on:
Blocks:
 
Reported: 2020-05-13 01:12 UTC by Caleb Cornett
Modified: 2020-05-18 16:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.