Run `make` for the WASI/host build.
(context, working_dir)
| 386 | |
| 387 | @subdir(lambda context: CROSS_BUILD_DIR / host_triple(context)) |
| 388 | def make_wasi_python(context, working_dir): |
| 389 | """Run `make` for the WASI/host build.""" |
| 390 | call( |
| 391 | ["make", "--jobs", str(cpu_count()), "all"], |
| 392 | env=updated_env(), |
| 393 | context=context, |
| 394 | ) |
| 395 | |
| 396 | exec_script = working_dir / "python.sh" |
| 397 | call([exec_script, "--version"], quiet=False) |
| 398 | log( |
| 399 | "🎉", |
| 400 | f"Use `{exec_script.relative_to(pathlib.Path().absolute())}` " |
| 401 | "to run CPython w/ the WASI host specified by --host-runner", |
| 402 | ) |
| 403 | |
| 404 | |
| 405 | def clean_contents(context): |
nothing calls this directly
no test coverage detected
searching dependent graphs…