Make/build the build Python.
(context, working_dir)
| 202 | |
| 203 | @subdir(BUILD_DIR) |
| 204 | def make_build_python(context, working_dir): |
| 205 | """Make/build the build Python.""" |
| 206 | call(["make", "--jobs", str(cpu_count()), "all"], context=context) |
| 207 | |
| 208 | binary = build_python_path() |
| 209 | cmd = [ |
| 210 | binary, |
| 211 | "-c", |
| 212 | "import sys; " |
| 213 | "print(f'{sys.version_info.major}.{sys.version_info.minor}')", |
| 214 | ] |
| 215 | version = subprocess.check_output(cmd, encoding="utf-8").strip() |
| 216 | |
| 217 | log("🎉", f"{binary} {version}") |
| 218 | |
| 219 | |
| 220 | def wasi_sdk(context): |
nothing calls this directly
no test coverage detected
searching dependent graphs…