Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/evidence/CAND2-LIVING-79a805d/00-declared/A7b/cand2_r15b.sh # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / evidence / CAND2-LIVING-79a805d / 00-declared / A7b / cand2_r15b.sh` 21 lines ยท 1584 bytes Raw Blame History 1 #!/bin/bash 2 # CAND-2 A7b: rebuild the R15 programs, then R15 silicon once. Guard, snapshots and step recorder as cand2_ladder.sh. 3 set -u 4 OMEGA_SHA=`c62f47b5ac178311d7d8f91c4f52a298a1754ec8`; CODE_SHA=`79a805d162bfded8c5ce5a4c14f7c29e79025f39` 5 PHYS_SHA=`6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf` 6 W=$HOME/workspace/cand3-campaign/cand2; O=$W/wt-omega-chip; P=$W/wt-physics-chip 7 OUT=$HOME/workspace/evidence-out/CAND2-LIVING-`79a805d`/A7b-R15 8 export PHYSICS_DIR=$P AIENOS_LOCK_REPO=$HOME/workspace/r16-survey/aienos ARGUS_REPO=$HOME/workspace/aienos-argus 9 cd "$O" || exit 2 10 eval "$(sed -n '/^snap() {/,/^}/p' "$W/cand2_ladder.sh")" 11 eval "$(sed -n '/^step() {/,/^}/p' "$W/cand2_ladder.sh")" 12 # guard as cand2_ladder.sh, except untracked files are allowed (A7's R15 run directory is preserved untracked) 13 [ "$(git -C "$O" rev-parse HEAD)" = "$OMEGA_SHA" ] || { echo "omega HEAD wrong"; exit 2; } 14 [ "$(git -C "$P" rev-parse HEAD)" = "$PHYS_SHA" ] || { echo "physics HEAD wrong"; exit 2; } 15 [ -z "$(git -C "$O" status --porcelain --untracked-files=no)" ] || { echo "omega tracked tree dirty"; exit 2; } 16 git -C "$O" diff --quiet $CODE_SHA HEAD -- . ":(exclude)spec/r16-orchestrator-retirement-map.md" ":(glob,exclude)**/.crumb" ":(exclude).crumb" || { echo "code differs"; exit 2; } 17 mkdir -p "$OUT" 18 step R15-build make r15-perf-silicon 19 sha256sum build/rx_r15_perf_silicon build/rx_r15_perf_silicon_nodigest build/r15_reduce > "$OUT/R15-build/executables.sha256" 2>&1 20 step R15-silicon tools/r15_qualify.sh silicon 21 ls -td evidence/R15/raw/*-`c62f47b5ac17`-silicon | head -1 > "$OUT/R15-silicon/run-dir.txt"