MCPcopy
hub / github.com/pyodide/pyodide / setup_emscripten

Function setup_emscripten

tools/update_emscripten.py:26–34  ·  view source on GitHub ↗
(oldtag: str)

Source from the content-addressed store, hash-verified

24
25
26def setup_emscripten(oldtag: str) -> None:
27 if not EMSCRIPTEN.exists():
28 run(
29 ["git", "clone", "git@github.com:emscripten-core/emscripten.git"],
30 cwd=EMSCRIPTEN.parent,
31 )
32 run(["git", "fetch", "origin", "--tags", "--force"], cwd=EMSCRIPTEN)
33 run(["git", "config", "rerere.enabled", "true"], cwd=EMSCRIPTEN)
34 run(["git", "config", "rerere.autoupdate", "true"], cwd=EMSCRIPTEN)
35
36
37def rebase(oldtag: str, newtag: str) -> None:

Callers 1

mainFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…