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
omega-mv / evidence / CAND1-PATH2-2eec75b / run_path2.sh
| 1 | #!/usr/bin/env bash |
| 2 | # Second-path build of CAND-1 (task B). Refuses to run while the spark quiet flag is held. |
| 3 | set -u |
| 4 | ~/.local/bin/quietlock check || { echo "READY_TO_BUILD: quiet flag held"; exit 75; } |
| 5 | P=$HOME/workspace/cand2-campaign/path2; E=$HOME/workspace/evidence-out/CAND1-PATH2-2eec75b; ORIG=$HOME/workspace/evidence-out/CAND1-BUILD-2eec75b/summary.txt |
| 6 | bash $P/cand1_path2_build.sh 2eec75b08aeb8f9d11f950070e13f6c2c046cf24; rc=$? |
| 7 | cp $P/cand1_path2_build.sh $P/run_path2.sh $E/ 2>/dev/null |
| 8 | : > $E/compare.txt |
| 9 | grep '^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 |
| 12 | done |
| 13 | cat $E/compare.txt; echo "build rc=$rc" |