Yes, build.py from the waterfall is exactly how the emsdk builds it. It has
some help with --help. Also you can see it in action where the emsdk is
built, for example here is a build:

https://ci.chromium.org/p/emscripten-releases/builders/ci/linux/b8906775213203156832

Then clicking on the LLVM logging links there, the second one has the
build.py command in it,

https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket.appspot.com/8906775213203156832/+/steps/Build_LLVM/0/logs/execution_details/0

and the first one has the output,

https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket.appspot.com/8906775213203156832/+/steps/Build_LLVM/0/stdout

- Alon


On Sat, Jul 27, 2019 at 9:38 AM David Aurelio <[email protected]> wrote:

> 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.
> - https://emscripten.org/docs/building_from_source/index.html doesn’t go
> into that much detail.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/a107c4fc-e598-405c-9542-1deba8af8ceb%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/a107c4fc-e598-405c-9542-1deba8af8ceb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpTBVf2a%2B07nq-n8hQO0FN5arp7p1yJv_id-ckJ5YLkryg%40mail.gmail.com.

Reply via email to