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/om/gpu/spec/build.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 / om / gpu / spec / build.sh` 16 lines ยท 522 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 3 # om/gpu/spec/build.sh -- thin compatibility shim over pure seeded-Omega seed/build/gpucoord.om. 4 set -eu 5 out=${1:?usage: sh om/gpu/spec/build.sh OUTPUT_DIR} 6 ROOT=$(CDPATH= cd -- "$(dirname "$0")/../../.." && pwd) 7 OMC="${OMC:-$ROOT/seed/out/omc}" 8 cd "$ROOT" 9 mkdir -p build 10 BIN="$ROOT/build/om-gpucoord.$$" 11 trap 'rm -f "$BIN"' EXIT 12 cat seed/build/common.om seed/build/gpucoord.om | "$OMC" > "$BIN" 13 chmod 755 "$BIN" 14 rc=0 15 OMC="$OMC" "$BIN" build-spec "$out" || rc=$? 16 exit "$rc"