Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.

Ship emscripten library cache in-place #644

Merged
merged 1 commit into from
May 13, 2020
Merged

Ship emscripten library cache in-place #644

merged 1 commit into from
May 13, 2020

Conversation

sbc100
Copy link
Member

@sbc100 sbc100 commented May 13, 2020

Now that emscripten uses an in-tree cache just ship it in place.
This also means the emsdk doesn't have to copy any of this during
post-install.

Now that emscripten uses an in-tree cache just ship it in place.
This also means the emsdk doesn't have to copy any of this during
post-install.
@sbc100 sbc100 requested review from kripken and dschuff May 13, 2020 00:49
sbc100 added a commit to emscripten-core/emsdk that referenced this pull request May 13, 2020
Now that emscripten uses an in-tree cache directory there is no
need to copy the pre-built libraries around.

See: WebAssembly/waterfall#644

Also for the sake of older versions of emscripten explictly set
EM_CACHE environment variable to point to the in-tree cache
directory.
sbc100 added a commit to emscripten-core/emsdk that referenced this pull request May 13, 2020
Now that emscripten uses an in-tree cache directory there is no
need to copy the pre-built libraries around.

See: WebAssembly/waterfall#644

Also for the sake of older versions of emscripten explictly set
EM_CACHE environment variable to point to the in-tree cache
directory.
@kripken
Copy link
Member

kripken commented May 13, 2020

If somehow we weren't copying it from the new place, is the emsdk github CI the only place this would get tested I guess?

@sbc100
Copy link
Member Author

sbc100 commented May 13, 2020

Yes, emsdk CI is that only place we ensure this works I believe.

This change will break the emsdk CI when the next release is made unless we land the emsdk-side of this change too: emscripten-core/emsdk#501. This emsdk change allows the cache to be used in-place rather than copied around.

@sbc100 sbc100 merged commit 1478397 into master May 13, 2020
@sbc100 sbc100 deleted the in_tree_cache branch May 13, 2020 19:22
sbc100 added a commit to emscripten-core/emsdk that referenced this pull request May 13, 2020
Now that emscripten uses an in-tree cache directory there is no
need to copy the pre-built libraries around.

See: WebAssembly/waterfall#644

Also for the sake of older versions of emscripten explictly set
EM_CACHE environment variable to point to the in-tree cache
directory.
sbc100 added a commit to emscripten-core/emsdk that referenced this pull request May 13, 2020
Now that emscripten uses an in-tree cache directory there is no
need to copy the pre-built libraries around.

See: WebAssembly/waterfall#644

Also for the sake of older versions of emscripten explictly set
EM_CACHE environment variable to point to the in-tree cache
directory.
sbc100 added a commit to emscripten-core/emsdk that referenced this pull request May 13, 2020
See: WebAssembly/waterfall#644

For the sake of older versions of emscripten explicitly set
EM_CACHE environment variable to point to the in-tree cache
directory.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants