Allow the install of any emscripten-releases build#732
Conversation
|
I can probably re-factor this to make the diff more readable ... |
755c9ef to
bb607a6
Compare
|
would it be possible to stop using the "-64-bit" suffix? We only release 64-bit builds now |
|
Although actually before long we will need to start releasing ARM64 mac builds too. And if we don't want to distribute fat binaries, then emsdk will still need some way to specify architecture. |
dschuff
left a comment
There was a problem hiding this comment.
this looks fine for now though, since it just tweaks the existing framework
The suffix is not needed on the command line. Its just part of the full internal name. |
bb607a6 to
bdaa2f2
Compare
kripken
left a comment
There was a problem hiding this comment.
lgtm with a test + docs.
In addition to docs in --help here, please update https://emscripten.org/docs/contributing/developers_guide.html#bisecting which can be much simpler thanks to this nice change.
5c6f18f to
99b0e07
Compare
|
Added a test based on the new unit test framework. |
kripken
left a comment
There was a problem hiding this comment.
lgtm with an update to --help
99b0e07 to
d55e5e8
Compare
|
Do you think its worth adding something specific to |
|
I guess if its added anywhere it would want to be under |
d55e5e8 to
1d17d66
Compare
|
the question of "what does a version hash mean" is somewhat complex. Does the emsdk documentation says anything about emscripten-releases versions? or is it just internal? |
|
We certainly talk about it here: https://emscripten.org/docs/contributing/developers_guide.html#bisecting I'm not sure we want to talk about it in |
|
sounds good to me. |
This is done by detecting the 40 character git sha in the SDK version and creating a new set of tools based on this SHA. This works for any command that uses expand_sdk_name (i.e. install activate and update) but it wont show up in the output of `list`. For example: ./emsdk install sdk-releases-upstream-b0cfdb236483b6828ee2e3f263fd94f011ed1863-64bit Or just: ./emsdk install releases-upstream-b0cfdb236483b6828ee2e3f263fd94f011ed1863
1d17d66 to
a145d28
Compare
|
sgtm |
Pull request was closed
Since #732 we lookup tot release dynamically, but we don't necessarily want to do this for the `activate` command otherwise `install` followed by `activate` a can fail if a new build was produced inbetween.
Since #732 we lookup tot release dynamically, but we don't necessarily want to do this for the `activate` command otherwise `install` followed by `activate` a can fail if a new build was produced inbetween.
…pten-core#732) runtime.linux-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.linux-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.osx-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.osx-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.win-arm64.Microsoft.NETCore.Runtime.Wasm.Node.Transport , runtime.win-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport From Version 9.0.0-alpha.1.24172.1 -> To Version 9.0.0-alpha.1.24174.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
This is done by detecting the 40 character git sha in the SDK version
and creating a new set of tools based on this SHA. This works for any
command that uses expand_sdk_name (i.e. install activate and update) but
it wont show up in the output of
list.For example:
./emsdk install sdk-releases-upstream-b0cfdb236483b6828ee2e3f263fd94f011ed1863-64bit
Or just:
./emsdk install releases-upstream-b0cfdb236483b6828ee2e3f263fd94f011ed1863
Fixes: #732