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

Support new default emscripten cache directory - #643

Merged
sbc100 merged 2 commits into
masterfrom
fix_cache_dir
May 11, 2020
Merged

sbc100 merged 2 commits into
masterfrom
fix_cache_dir

Conversation

@sbc100

@sbc100 sbc100 commented May 11, 2020

Copy link
Copy Markdown
Member

@sbc100
sbc100 requested review from dschuff and kripken May 11, 2020 21:49
Comment thread src/build.py Outdated
Remove(GetInstallDir('lib', cache_subdir))
shutil.copytree(os.path.join(EMSCRIPTEN_CACHE_DIR, cache_subdir),

# Newer version of emscripten use an in-tree cache by default.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version => versions

Comment thread src/build.py
shutil.copytree(os.path.join(cache_root, cache_subdir),
GetInstallDir('lib', cache_subdir))

Remove(in_tree_cache)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this not fail if the argument does not exist?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I think our Remove accounts for that.

@sbc100
sbc100 merged commit 69040b5 into master May 11, 2020
@sbc100
sbc100 deleted the fix_cache_dir branch May 11, 2020 22:36
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.

3 participants