diff options
| author | eunhhu <[email protected]> | 2026-10-04 14:25:45 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-04 14:25:45 +0100 |
| commit | 540d4aef64eb5364a836615fbd44d321b029de3f (patch) | |
| tree | 7474b5680763d4d63d49d55d9c401bd5bc34bf8b /research/experiments/033-computing/record.py | |
| parent | 608221c21edb345e4eeeca85385d2e149c3baa30 (diff) | |
| download | pure-540d4aef64eb5364a836615fbd44d321b029de3f.tar.gz pure-540d4aef64eb5364a836615fbd44d321b029de3f.zip | |
Say what computing in one event costs and finds (018 stage 2, research 118)
Diffstat (limited to 'research/experiments/033-computing/record.py')
| -rwxr-xr-x | research/experiments/033-computing/record.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/research/experiments/033-computing/record.py b/research/experiments/033-computing/record.py index 7450fa6..3bb6a9e 100755 --- a/research/experiments/033-computing/record.py +++ b/research/experiments/033-computing/record.py @@ -4,7 +4,7 @@ computing: the examples routes.aup and numbers.aup against their models), each recorded by 029's recorded-pure-run, so two machines' records compare run by run (029's compare.py). -record.py AUP_ROOT PURE_ROOT OUT.jsonl the checks' report on stdout""" +record.py AUP_ROOT PURE_ROOT OUT.jsonl the checks' report on stdout (MAKE: the make to build with)""" import importlib.util import json import os @@ -14,8 +14,8 @@ import tempfile from pathlib import Path aup_root, pure_root, out = (Path(a).resolve() for a in sys.argv[1:4]) -subprocess.run(['make', '-s', '-C', str(pure_root), 'build/pure-run'], check=True) -subprocess.run(['make', '-s', '-C', str(aup_root), 'build/aup'], check=True) +subprocess.run([os.environ.get('MAKE', 'make'), '-s', '-C', str(pure_root), 'build/pure-run'], check=True) +subprocess.run([os.environ.get('MAKE', 'make'), '-s', '-C', str(aup_root), 'build/aup'], check=True) out.unlink(missing_ok=True) os.environ['PURE_RUN'] = str(pure_root / 'build' / 'pure-run') os.environ['PURE_RUN_LOG'] = str(out) |
