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 / retarget.mk

18 lines · 1216 bytes Raw Blame History
1# #624 G3 retarget lane: extended S1 family unit -> R(U, M) (translation-compose-v2 section 2).
2# The importer (build/L589), the lowering (build/L831), the frozen v1 codec sa (build/L574, sha256 pinned
3# by the self-test) and the v2 codec sa (build/L832, source-aware-v2.md section 7) are built in-tree by
4# their owners' unchanged scripts. Required, no $HOME defaults: OMEGA_NATIVE_OMC (the pinned omc
5# 734f0a39) and SA_SEED_REPO (a clone holding the pinned bridge seed commit).
6.PHONY: retarget test-retarget retarget-env
7export OMEGA_NATIVE_OMC SA_SEED_REPO
8retarget-env:
9 @test -n "$$OMEGA_NATIVE_OMC" || { echo 'RETARGET: set OMEGA_NATIVE_OMC to the pinned omc 734f0a39' >&2; exit 2; }
10 @test -n "$$SA_SEED_REPO" || { echo 'RETARGET: set SA_SEED_REPO to a clone holding the pinned bridge seed commit' >&2; exit 2; }
11retarget: retarget-env
12 python3 tools/adapters/build-retarget.py
13test-retarget: retarget
14 $(MAKE) -f mk/c-u64-import.mk c-u64-import
15 $(MAKE) -f mk/lower.mk lower
16 $(MAKE) -f mk/source-aware.mk source-aware
17 SA_BUILD=build/L832 tools/source-aware/build-v2
18 python3 tests/universal/translation/retarget_selftest.py --out build/L833/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)')