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/aien-sovereign-core-mv/blob/main/om/ribbon/build-native.sh # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / om / ribbon / build-native.sh` 20 lines ยท 1145 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # SPDX-License-Identifier: Apache-2.0 3 set -euo pipefail 4 root=$(cd "$(dirname "$0")/../.." && pwd) 5 bridge=${OMEGA_BRIDGE_SOURCE:?set OMEGA_BRIDGE_SOURCE to the pinned Omega Bridge checkout} 6 compiler=${OMEGA_NATIVE_OMC:?set OMEGA_NATIVE_OMC to the pinned native-call compiler} 7 out=${1:-$root/target/ribbon-native} 8 pin=`ba8a75a6f9538b130383e1eb8ff459f82c589f92` 9 test "$(git -C "$bridge" rev-parse HEAD)" = "$pin" || { echo 'FAIL bridge source identity'; exit 1; } 10 test -z "$(git -C "$bridge" status --porcelain -- src/native.om tools/native)" || { echo 'FAIL modified bridge source'; exit 1; } 11 OMEGA_NATIVE_OMC="$compiler" "$bridge/tools/native" "$out" "$root/om/ribbon/pipeline.om" 12 python3 "$root/om/ribbon/check_native.py" "$out" 13 python3 "$root/om/ribbon/check_overlap.py" "$out" 14 { 15 printf 'bridge %s\n' "$pin" 16 sha256sum "$compiler" "$bridge/src/native.om" "$bridge/tools/native" \ 17 "$root/om/ribbon/pipeline.om" "$out/libomega_native.so" "$out/omega_native.rs" 18 cc --version | head -1 19 } > "$out/provenance.txt" 20 printf 'AIEN_RIBBON_BINDINGS=%s/omega_native.rs\nLIBRARY_PATH=%s\nLD_LIBRARY_PATH=%s\n' "$out" "$out" "$out"