Skip to content

Default to storing emscripten cache locally - #11126

Merged
sbc100 merged 3 commits into
masterfrom
default_to_local_cache
May 11, 2020
Merged

sbc100 merged 3 commits into
masterfrom
default_to_local_cache

Conversation

@sbc100

@sbc100 sbc100 commented May 10, 2020 •

Copy link
Copy Markdown
Collaborator

The cache is something that can't really be shared between emscripten
versions. In fact having a single location for the cache often means
that developers with more then one version of emscripten have the
cache cleared whenever they switch version.

With this method the cache it always local the to emscripten directory.
If distro what to install emscripten in a read-only or shared location
then can still use the CACHE config file setting, or set EM_CACHE
in the environment.

This is part of a wider push to stop using $HOME where we can and
move towards an embedded mode where it makes sense.

See: #9543

@sbc100
sbc100 force-pushed the default_to_local_cache branch from d67cbf4 to 8dc719b Compare May 10, 2020 23:14
@sbc100
sbc100 requested a review from kripken May 10, 2020 23:15
@sbc100
sbc100 force-pushed the default_to_local_cache branch 3 times, most recently from 84703d3 to 017a34c Compare May 11, 2020 00:01
@sbc100
sbc100 force-pushed the default_to_local_cache branch from 017a34c to 5b47b3e Compare May 11, 2020 18:07
sbc100 added 2 commits May 11, 2020 12:26
The cache is something that can't really be shared between emscripten
versions.  In fact having a single location for the cache means
that developers with more then one version of emscripten often have
their cache cleared whenever they switch version.

With this method the cache it always local the to emscripten directory.
If distro what to install emscripten in a read-only or shared location
then can still use the CACHE config file setting, or set EM_CACHE
in the environment.

This is part of a wider push to stop using $HOME where we can and
move towards an embedded mode where it makes sense.

See: #9543
@sbc100
sbc100 force-pushed the default_to_local_cache branch from 5b47b3e to ef5a26f Compare May 11, 2020 20:07
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.

2 participants