interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / CAND1-PATH2-2eec75b / run_path2.sh

13 lines · 809 bytes Raw Blame History
1#!/usr/bin/env bash
2# Second-path build of CAND-1 (task B). Refuses to run while the spark quiet flag is held.
3set -u
4~/.local/bin/quietlock check || { echo "READY_TO_BUILD: quiet flag held"; exit 75; }
5P=$HOME/workspace/cand2-campaign/path2; E=$HOME/workspace/evidence-out/CAND1-PATH2-2eec75b; ORIG=$HOME/workspace/evidence-out/CAND1-BUILD-2eec75b/summary.txt
6bash $P/cand1_path2_build.sh 2eec75b08aeb8f9d11f950070e13f6c2c046cf24; rc=$?
7cp $P/cand1_path2_build.sh $P/run_path2.sh $E/ 2>/dev/null
8: > $E/compare.txt
9grep '^SAME ' "$ORIG" | while read _ name dig; do
10 p=$(grep "^SAME $name " "$E/summary.txt" | cut -d' ' -f3)
11 [ "$p" = "$dig" ] && echo "SAME $name $dig" >> $E/compare.txt || echo "DIFFERENT $name orig=$dig path2=${p:-missing}" >> $E/compare.txt
12done
13cat $E/compare.txt; echo "build rc=$rc"