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 / mk / go-u64.mk

23 lines · 1641 bytes Raw Blame History
1# #741 Go lane (translation-compose-v2): go-u64-pure-v1 importer and S1-family Go exporter.
2# Author self-test only (TESTED). No host-path defaults; required environment:
3# OMEGA_BRIDGE_REPO omega-bridge checkout holding 0fc7d866 (seed compiler) and 012860db (native binding)
4# OMEGA_NATIVE_OMC native omc 734f0a39 (lowering realization)
5# GO, GOFMT Go 1.27.3 toolchain, or `go`/`gofmt` on PATH (missing: the self-test exits 3 NOT_RUN)
6# SA_SEED_REPO defaults to OMEGA_BRIDGE_REPO. test-go-u64 builds every in-tree prerequisite: the #621 v1 and
7# v2 codecs, the C importer, the C exporter, the lowering and, when this tree holds it, the #624 retarget tool.
8SA_SEED_REPO ?= $(OMEGA_BRIDGE_REPO)
9export SA_SEED_REPO
10.PHONY: go-u64 test-go-u64
11go-u64:
12 @test -n "$(SA_SEED_REPO)" || { echo 'go-u64: set OMEGA_BRIDGE_REPO (or SA_SEED_REPO)' >&2; exit 2; }
13 nice -n 19 python3 tools/adapters/build-go-u64.py
14test-go-u64: go-u64
15 @test -n "$(OMEGA_NATIVE_OMC)" || { echo 'test-go-u64: set OMEGA_NATIVE_OMC' >&2; exit 2; }
16 @test -n "$(OMEGA_BRIDGE_REPO)" || { echo 'test-go-u64: set OMEGA_BRIDGE_REPO' >&2; exit 2; }
17 nice -n 19 bash tools/source-aware/build
18 SA_BUILD=build/L832 nice -n 19 bash tools/source-aware/build-v2
19 nice -n 19 python3 tools/adapters/build-c-import.py
20 nice -n 19 python3 tools/adapters/build-c-export.py
21 nice -n 19 python3 tools/adapters/build-lower.py
22 if [ -f tools/adapters/build-retarget.py ]; then nice -n 19 python3 tools/adapters/build-retarget.py; fi
23 nice -n 19 python3 tests/universal/translation/go_selftest.py --out build/L741/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)')