-
Notifications
You must be signed in to change notification settings - Fork 274
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
Upgrade Emscripten version #2116
base: trunk
Are you sure you want to change the base?
Conversation
Quoting from this earlier comment:
I wrote a small node script to identify the insertion point and perform the insertion but forgot it needed to run within a Docker container if we patch in the same place we patch other Emscripten things. By default, node and npm are not installed there. And this approach deviates from the current approach with @bgrgicak, I am AFK for the rest of the week and do not plan to look at this again until next Monday. Please feel free to pick this up in the meantime if you want to fix this earlier. |
Good explorations here! I agree, the replace.sh approach is not readable at all. We could contribute some of these to the Emscripten repo but not all – e.g. I wouldn't expect the websocket decorator logic to make it past the review. What if we forked Emscripten, applied these changes, and then just kept our fork up to date with the upstream? |
This sounds like a good idea and definitely better than hand-patching various aspects of the build output. I don't know if this means we will need to build emscripten itself on the fly or produce our own builds for each release version, but we can see... Maybe we can keep a branch of customizations that is rebased and tagged whenever we upgrade, so our changes are always latest in the branch. |
Motivation for the change, related issues
There are a couple of reasons for this upgrade:
Implementation details
This PR:
Testing Instructions (or ideally a Blueprint)