MCPcopy Index your code
hub / github.com/python/cpython / make_emscripten_python

Function make_emscripten_python

Platforms/emscripten/__main__.py:571–580  ·  view source on GitHub ↗

Run `make` for the emscripten/host build.

(context, working_dir)

Source from the content-addressed store, hash-verified

569
570@subdir("host_dir")
571def make_emscripten_python(context, working_dir):
572 """Run `make` for the emscripten/host build."""
573 call(
574 ["make", "--jobs", str(cpu_count()), "all"],
575 env=updated_env({}, context.emsdk_cache),
576 quiet=context.quiet,
577 )
578
579 exec_script = working_dir / "python.sh"
580 subprocess.check_call([exec_script, "--version"])
581
582
583def run_emscripten_python(context):

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
callFunction · 0.70
updated_envFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…