Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-145219: Cache Emscripten libffi and mpdec builds, add install-emscripten cmd#145664

Open
hoodmane wants to merge 1 commit intopython:mainfrom
hoodmane:cache-emsdk-libs
Open

gh-145219: Cache Emscripten libffi and mpdec builds, add install-emscripten cmd#145664
hoodmane wants to merge 1 commit intopython:mainfrom
hoodmane:cache-emsdk-libs

Conversation

@hoodmane
Copy link
Contributor

@hoodmanehoodmane commentedMar 9, 2026
edited by bedevere-appbot
Loading

This moves the emsdk install from{emsdk_cache}/{emscripten_version} to{emsdk_cache}/{emscripten_version}/emsdk so that we can put the prefix at `emsdk_cache_dir/{emscripten_version}/prefix.

I moved the data about mpdec & libffi version, url, and shasum into config.toml along with the emscripten version. Then as a cache key I write the library config section to disk in the prefix dir like{libname}.json. I write it as a json file since tomllib can't write toml. On subsequent builds, if prefix/{libname}.json contains the same data then we can skip a rebuild.

I also added an install-emscripten command to make it easy to get this directory structure correct.

…l-emscripten cmdThis moves the emsdk install from `{emsdk_cache}/{emscripten_version}` to`{emsdk_cache}/{emscripten_version}/emsdk` so that we can put the prefix at`emsdk_cache_dir/{emscripten_version}/prefix.I moved the data about mpdec & libffi version, url, and shasum into config.toml alongwith the emscripten version. Then as a cache key I write the library config section todisk in the prefix dir like `{libname}.json`. I write it as a json file since tomllibcan't write toml. On subsequent builds, if prefix/{libname}.json contains the same datathen we can skip a rebuild.I also added an install-emscripten command to make it easy to get this directorystructure correct.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@freakboy3742freakboy3742Awaiting requested review from freakboy3742freakboy3742 is a code owner

@emmatypingemmatypingAwaiting requested review from emmatypingemmatyping is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@hoodmane

[8]ページ先頭

©2009-2026 Movatter.jp