I am trying to run emscripten on a rather customised server platform, where the precompiled binaries don’t work.
Is there a way to build “latest-upstream” from source, ending up with the same neat directory structure that
emsdk will produce when installing the pre-built versions? I really appreciate the compactness of the distribution.
- I found waterfall/src/build.py, but I am not quite sure whether it can be used for that purpose, and how to use it.
- I did manage to checkout the necessary sources of binaryen, emscripten, llvm-project, and wabt (is that actually used?), changed to the respective revisions for v1.38.40, and started building llvm. Looking at the amount of files in lib/, there seems to be far more than what the prebuilt archive contains.
Thanks!