omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / evidence / audit / 2026-11-05-2954d46 / runner / audit-runs-freest.sh
| 1 | #!/bin/sh |
| 2 | # DRA-106 supplement to audit-runs2.sh, same clone and out dir: tests/freest.py with the full |
| 3 | # portable.yml job env (OMEGA_SEEDED_OMC is exported job-wide there through GITHUB_ENV). |
| 4 | set -u |
| 5 | A=/tmp/sweep/A106b |
| 6 | O=$A/out |
| 7 | W=$A/omega-bridge |
| 8 | L7=/tmp/sweep/L7 |
| 9 | ZIGD=$HOME/.local/opt/zig-linux-aarch64-0.13.0 |
| 10 | GOD=$HOME/.local/opt/go1.27.3/bin |
| 11 | BPATH=$ZIGD:$GOD:$HOME/.cargo/bin:/usr/local/bin:/usr/bin:/bin |
| 12 | RC=$O/rc.tsv |
| 13 | note() { echo "$(date -u +%FT%TZ) $*" >>$O/run.log; } |
| 14 | r() { |
| 15 | n=$1 e=$2; shift 2 |
| 16 | s=$(date +%s); note "start $n" |
| 17 | (cd $W && env -i HOME=$HOME PATH=$BPATH GOCACHE=$A/gocache LANG=C.UTF-8 $e \ |
| 18 | nice -n 19 taskset -c 0-4,15-19 "$@") >$O/$n.log 2>&1 |
| 19 | rc=$?; printf '%s\t%s\t%s\t%s\t%s\n' "$n" "$rc" "$(( $(date +%s) - s ))" "$e" "$*" >>$RC |
| 20 | note "end $n rc=$rc" |
| 21 | } |
| 22 | CI="OMEGA_SEED=$W/build/bootstrap/omc OMEGA_SEEDED_OMC=$L7/omc-2c82 FREEST_CUDAPP_ROOT=$A/cudapp-dbb1" |
| 23 | r freest+seeded "$CI" python3 tests/freest.py |
| 24 | r freest-x86+seeded "$CI CC=x86_64-linux-gnu-gcc FREEST_RUNNER=$A/qemu-x86-L" python3 tests/freest.py |
| 25 | note ALLDONE2B |