MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / run_ninja

Function run_ninja

tools/system_libs.py:171–175  ·  view source on GitHub ↗
(build_dir)

Source from the content-addressed store, hash-verified

169
170
171def run_ninja(build_dir):
172 cmd = ['ninja', '-C', build_dir, f'-j{utils.get_num_cores()}']
173 if shared.PRINT_SUBPROCS:
174 cmd.append('-v')
175 shared.check_call(cmd, env=clean_env())
176
177
178def ensure_target_in_ninja_file(ninja_file, target):

Callers 2

do_buildMethod · 0.85
build_deferredFunction · 0.85

Calls 2

clean_envFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected