Repository navigation
By default, store ports inside the cache - #11270
Merged
Merged
Conversation
kripken
approved these changes
May 28, 2020
kripken
left a comment
Member
There was a problem hiding this comment.
Please update docs about emcc --clear-cache now clearing ports too. Maybe in the changelog and in emcc --help.
This means we no longer default to `~/.emscripten_ports` and ports now live in the cache by default. This also means that `--clear-ports` is less meaningful since `--clear-cache` normally handles that already. Also enable `PORTS` to be set in the config file as well as the existing `EM_PORTS` enviroment variable. This mirrors recent changes to `CACHE/EM_CACHE` handling. This is part of move away from using $HOME by default. In particular I think this means the emsdk users who use --embedded will have nothing added to their $HOME directory. See #9543
sbc100
added a commit
that referenced
this pull request
May 30, 2020
Followup on #11270. This means that users with a read-only emscripten root will continue to default to having their cache live in $HOME. In the long term such installations should configure the cache specifically, but for now this restores the previous cache location.
sbc100
added a commit
that referenced
this pull request
May 30, 2020
Followup on #11270. This means that users with a read-only emscripten root will continue to default to having their cache live in $HOME. In the long term such installations should configure the cache specifically, but for now this restores the previous cache location.
sbc100
added a commit
that referenced
this pull request
Jun 1, 2020
Followup on #11270. This means that users with a read-only emscripten root will continue to default to having their cache live in $HOME. In the long term such installations should configure the cache specifically, but for now this restores the previous cache location.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This means we no longer default to
~/.emscripten_portsand portsnow live in the cache by default.
This also means that
--clear-portsis less meaningful since--clear-cachenormally handles that already.Also enable
PORTSto be set in the config file as well as theexisting
EM_PORTSenviroment variable. This mirrors recent changesto
CACHE/EM_CACHEhandling.This is part of move away from using $HOME by default. In particular
I think this means the emsdk users who use --embedded will have nothing
added to their $HOME directory.
See #9543