-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
As part of using the wasm backend by default, we should make it easy for users to download and install it. This means having emsdk install upstream LLVM instead of fastcomp.
Steps:
- Add wasm backend to emsdk behind a flag
- Switch to wasm backend by default (fastcomp behind a flag)
- Deprecate fastcomp backend
There's the question of how to organize installing the two backends. The options I know of are
- Download only one backend
- need to rerun
emsdk installto download the other backend later (which is bound to be a frustrating UX) - need to
emsdk activateto change backends
- need to rerun
- Download both backends
- no need to download/compile the other backend later, but instead frontloads that cost
- may need to edit
~/.emscriptento change theLLVM_ROOTvariable
- Download one LLVM that has both backends enabled
- integrate upstream changes into fastcomp branch to get latest wasm backend, build fastcomp with js and wasm32 targets enabled
- need to merge regularly going forward
- changing backends is a matter of changing
~/.emscriptento set... something. CurrentlyEMCC_WASM_BACKENDis an environment flag, can.emscriptenset that?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels