Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow emscripten-releases-tags/aliases to work be used without SDK deps #1147

Closed
wants to merge 1 commit into from

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 4, 2022

This change means that aliases such as latest and 3.10.2 can be used to install jsut the emscipten-releases packages and not the full SDK with all the dependencies.

This allows uses who do not want to install dependencies such as node, python or java to still use this package.

These packages were already available to install on their own via their full names such as:

$ ./emsdk install releases-upstream-48ce0b44015d0182fc8c27aa9fbc0a4474b55982-64bi

Now these base packages can also be install via:

$ ./emsdk install latest-base

Fixes: #1142

@sbc100 sbc100 force-pushed the aliases_for_releases branch from a9e1f8e to 290654f Compare December 9, 2022 04:00
@sbc100 sbc100 force-pushed the aliases_for_releases branch 2 times, most recently from 8987532 to f2b0c0e Compare January 30, 2023 23:46
This change means that aliases such as `latest` and `3.10.2` can be
used to install jsut the emscipten-releases packages and not the full
SDK with all the dependencies.

This allows uses who do not want to install dependencies such as node,
python or java to still use this package.

These packages were already available to install on their own via
their full names such as:

```
$ ./emsdk install releases-upstream-48ce0b44015d0182fc8c27aa9fbc0a4474b55982-64bi
```

Now these base packages can also be install via:

```
$ ./emsdk install latest-base
```

Fixes: #1142
@sbc100 sbc100 force-pushed the aliases_for_releases branch from f2b0c0e to bcd05f7 Compare January 30, 2023 23:49
@sbc100 sbc100 requested a review from dschuff January 30, 2023 23:50
@dschuff
Copy link
Member

dschuff commented Feb 6, 2023

This code looks fine, although the suffix "-base" isn't very clear on what it means. Would a name that refers more directly to "emscripten" (or perhaps "toolchain") make more sense? On one hand something like "emscripten-only" would be weird for us (who see emscripten proper as one of the components alongside LLVM and Binaryen) but I'd bet that users wouldn't see it that way, so for them emscripten would be the toolchain and the language runtimes would be something else.

@dschuff
Copy link
Member

dschuff commented Feb 6, 2023

oh, and is there some doc that should be updated?

@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 9, 2023

Closing now that the need for this is less since #1189 landed

@sbc100 sbc100 closed this Mar 9, 2023
@sbc100 sbc100 deleted the aliases_for_releases branch March 9, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing emsdk overwrites node on PATH
2 participants