interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / audit / 2026-11-05-2954d46 / runner / audit-runs-freest.sh

25 lines · 1054 bytes Raw Blame History
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).
4set -u
5A=/tmp/sweep/A106b
6O=$A/out
7W=$A/omega-bridge
8L7=/tmp/sweep/L7
9ZIGD=$HOME/.local/opt/zig-linux-aarch64-0.13.0
10GOD=$HOME/.local/opt/go1.27.3/bin
11BPATH=$ZIGD:$GOD:$HOME/.cargo/bin:/usr/local/bin:/usr/bin:/bin
12RC=$O/rc.tsv
13note() { echo "$(date -u +%FT%TZ) $*" >>$O/run.log; }
14r() {
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}
22CI="OMEGA_SEED=$W/build/bootstrap/omc OMEGA_SEEDED_OMC=$L7/omc-2c82 FREEST_CUDAPP_ROOT=$A/cudapp-dbb1"
23r freest+seeded "$CI" python3 tests/freest.py
24r freest-x86+seeded "$CI CC=x86_64-linux-gnu-gcc FREEST_RUNNER=$A/qemu-x86-L" python3 tests/freest.py
25note ALLDONE2B