interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / gpu / intel / gate.sh

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