-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
I don't know if this is correct place to ask this, because ./emsdk script and emsdk_manifest.json files are not a part of this repository.
Anyway I'm trying to install newer versions of emscripten (1.37.9) with ./emsdk script on 64bit Linux. Neither installing "latest" nor "sdk-tag-1.37.9-64bit" seems to do the job.
$ ./emsdk update
...
Done. 96 tagged releases available, latest is 1.37.9.
$ ./emsdk install latest
Installing SDK 'sdk-master-64bit'..
...
Done installing SDK 'sdk-master-64bit'.
$ ./emsdk activate lastest
...
$ source ./emsdk_env.sh
...
$ emcc --version
emcc (Emscripten gcc/clang-like replacement) 1.37.0 (commit 6dc4ac5f9e4d8484e273e4dcc554f809738cedd6) // master
...
$ ./emsdk install sdk-tag-1.37.9-64bit
Error: No tool or SDK found by name 'sdk-tag-1.37.9-64bit'.
I think that this is caused by accidentally using "unix" for "os" key instead of "linux" in emsdk_manifest.json:845. This results in all emscripten versions from git tags to be ignored on 64bit linux, because compatible_with_this_os() in load_sdk_manifest() only checks for "win", "linux" and "osx" strings (see ./emsdk script).
Changing the code to check also for "unix" or modifying emsdk_manifest.json to use "linux" lets me install sdk-tag-1.37.9-64bit.
I would submit a patch, but it seems that both emsdk script and emsdk_manifest.json are not a part of this repository.