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/aienux/spark/build_spark_efi.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 / aienux / spark / build_spark_efi.sh` 18 lines ยท 716 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 3 # aienux/spark/build_spark_efi.sh -- thin compatibility shim over pure seeded-Omega seed/build/sparkefi.om. 4 # Zero Python on the bare-metal SPARK.EFI delivery path (word-boundary namespacing + PE32+ verification 5 # all execute inside pure seeded Omega). 6 set -eu 7 ROOT=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) 8 OMC="${OMC:-$ROOT/seed/out/omc}" 9 [ -x "$OMC" ] || { echo "FAIL: omc compiler not executable at $OMC (set OMC=/path/to/omc)" >&2; exit 1; } 10 cd "$ROOT" 11 mkdir -p build 12 BIN="$ROOT/build/om-sparkefi.$$" 13 trap 'rm -f "$BIN"' EXIT 14 cat seed/build/common.om seed/build/sparkefi.om | "$OMC" > "$BIN" 15 chmod 755 "$BIN" 16 rc=0 17 OMC="$OMC" "$BIN" "$@" || rc=$? 18 exit "$rc"