interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / tests / hardware / build.sh

26 lines · 1267 bytes Raw Blame History
1#!/usr/bin/env bash
2set -euo pipefail
3cd "$(dirname "$0")/../.."
4mkdir -p target/L558 qualification/evidence/L558
5seed=29b12760f4c962606411d6bf25032aedef063301
6expected=191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9
7if [[ ${1-} == --birth ]]; then
8 # Extract immutable objects into OUR output directory. Never build in L408's tree.
9 test ! -e target/L558/seed-source
10 mkdir target/L558/seed-source
11 git -C "${OMEGA_REPO:-../omega-in-omega}" archive "$seed" | tar -x -C target/L558/seed-source
12 (cd target/L558/seed-source && quiet-build sh seed/omega-from-seed.sh) > qualification/evidence/L558/seed-birth.log 2>&1
13 cp target/L558/seed-source/seed/out/omc target/L558/omc
14elif [[ -n ${OMC-} ]]; then
15 cp "$OMC" target/L558/omc
16fi
17printf '%s target/L558/omc\n' "$expected" | sha256sum -c -
18quiet-build sh -c 'target/L558/omc < omega/hardware/map.om > target/L558/hardware-map.tmp'
19test -s target/L558/hardware-map.tmp
20chmod +x target/L558/hardware-map.tmp
21mv target/L558/hardware-map.tmp target/L558/hardware-map
22{
23 printf 'compiler_source=%s\n' "$seed"
24 printf 'base_interplane=b669d06e21c9debb15073289d7c0b78b1b2d362c\n'
25 sha256sum target/L558/omc omega/hardware/map.om target/L558/hardware-map
26} > qualification/evidence/L558/build.txt