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

15 lines · 1021 bytes Raw Blame History
1# #624 G1 lowering lane: S1 upper envelope -> restricted Omegese unit (translation-v1 section 5).
2# The importer (build/L589) is built by its own unchanged target. Required, no $HOME defaults:
3# OMEGA_NATIVE_OMC (the pinned omc 734f0a39) and SA_SEED_REPO (a clone holding the pinned bridge seed
4# commit); OMEGA_BRIDGE_REPO (a clone holding omega-bridge 012860db) defaults to SA_SEED_REPO.
5.PHONY: lower test-lower lower-env
6OMEGA_BRIDGE_REPO ?= $(SA_SEED_REPO)
7export OMEGA_NATIVE_OMC SA_SEED_REPO OMEGA_BRIDGE_REPO
8lower-env:
9 @test -n "$$OMEGA_NATIVE_OMC" || { echo 'LOWER: set OMEGA_NATIVE_OMC to the pinned omc 734f0a39' >&2; exit 2; }
10 @test -n "$$SA_SEED_REPO" || { echo 'LOWER: set SA_SEED_REPO to a clone holding the pinned bridge seed commit' >&2; exit 2; }
11lower: lower-env
12 python3 tools/adapters/build-lower.py
13test-lower: lower
14 $(MAKE) -f mk/c-u64-import.mk c-u64-import
15 python3 tests/universal/translation/lower_selftest.py --out build/L831/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)')