emsdk: how to update sdk-master-64bit

101 views
Skip to first unread message

Flix

unread,
Jan 3, 2017, 10:36:57 AM1/3/17
to emscripten-discuss
Hi, I've been using emsdk for a few years, installing, uninstalling, and activating versions without any big issues (well, except one, but I solved it and that was an old story).

The problem now is that last time I did installed an sdk, I chose sdk-master-64bit.
Now my current emcc version is still 1.36.0, and I've seen there is already v.1.37.1.

However I'd just like to "refresh" my sdk-master-64bit. How can I do it ?

P.S. Of course I'd like to keep my old object files to reduce compilation time, so I'm not going to uninstall/reinstall it; should I?

Flix

unread,
Jan 3, 2017, 10:54:14 AM1/3/17
to emscripten-discuss

I'm currently re-using this command:
>./emsdk install sdk-master-64bit

even if it's already activated. Seems to work (although I'm not sure if old object files gets reused or not).
Hope it's the correct way...

Jukka Jylänki

unread,
Jan 5, 2017, 5:40:11 AM1/5/17
to emscripte...@googlegroups.com
Yeah, this is the proper way for the SDK targets that are git branches: reissuing the "emsdk install" step will git pull the sources to latest and incrementally build the new code. Reading the documentation, I notice this was not exactly clear, so added a new doc section about this: https://github.com/juj/emsdk/commit/85a2ee2ebc37edfa8886c98114a2b4838b10a218

Flix

unread,
Jan 5, 2017, 10:52:55 AM1/5/17
to emscripten-discuss

Thanks!
Reply all
Reply to author
Forward
0 new messages