Can I update the emscripten-llvm-backend by myself?

31 views
Skip to first unread message

Wanghb Wang

unread,
Aug 23, 2019, 12:58:53 AM8/23/19
to emscripten-discuss
As you can  see in the https://github.com/emscripten-core/emscripten/issues/9023

sbc100 fix the bug “getting an Optional.h hasValue assert”.

but the latest upstream-llvm version(1.38.42-upstream ) don't contain the code (cf2b8722d4e3bc4f0c106a5724778d56074e1ec7 -> 369423).

my question is: Can I update the emscripten-llvm-backend version?How to do it ?

Thomas Lively

unread,
Aug 23, 2019, 1:47:29 AM8/23/19
to emscripte...@googlegroups.com
Sure, you can build tip of tree llvm and clang from source and update your .emscripten file to point to your local build. Random checkouts of LLVM are not guaranteed to work because they have not necessarily been tested alongside your particular version of Emscripten on our CI, but in practice they usually work fine. Instructions to build LLVM are here: https://llvm.org/docs/CMake.html
--
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/7325d5ac-d5fa-476f-bc81-badd0c3e07e1%40googlegroups.com.

Mehdi Sabwat

unread,
Aug 23, 2019, 5:30:03 AM8/23/19
to emscripten-discuss
If you're using emsdk, you can update tags then :
emsdk install tot-upstream

then activate the sdk to change emscripten configuration
Reply all
Reply to author
Forward
0 new messages