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
| 1 | # #624 S2 (spec/universal/translation-s2-v1.md): signed i64, comparisons and select. Host AArch64 only. |
| 2 | # Builds build/S2 (v3 codec sa, c-i64-import, rust-i64-export with the adapter pin 191b776e; lower-s2 with the |
| 3 | # native pin 734f0a39) and runs the section 6 self-test: positive, boundary, overflow (gcc UBSan oracle; rustc |
| 4 | # D/R/RC build-setting matrix plus two negative controls), malformed, unsupported, mutants, the C -> Omega -> Rust composition and native execution |
| 5 | # through the pinned omega-bridge generator. Inputs as mk/translation.mk: SA_SEED_REPO (absolute |
| 6 | # omega-bridge clone path, required), optional OMEGA_NATIVE_OMC. S2_LOG_DIR also receives the receipt. |
| 7 | # A missing oracle or pin is NOT_RUN (exit 3), never PASS. S1 builds and gates are not touched. |
| 8 | .PHONY: translation-s2 test-translation-s2 |
| 9 | OMEGA_NATIVE_OMC ?= $(CURDIR)/build/T624/seed/seed/out/omc |
| 10 | OMEGA_BRIDGE_REPO ?= $(SA_SEED_REPO) |
| 11 | export OMEGA_NATIVE_OMC SA_SEED_REPO OMEGA_BRIDGE_REPO |
| 12 | S2_LOG_DIR ?= |
| 13 | S2_CC ?= gcc |
| 14 | S2_RUSTC ?= rustc |
| 15 | |
| 16 | translation-s2: |
| 17 | $(MAKE) -f mk/translation.mk translation-omc |
| 18 | nice -n 19 python3 tools/adapters/build-s2.py |
| 19 | |
| 20 | test-translation-s2: translation-s2 |
| 21 | $(MAKE) -f mk/source-aware-v2.mk source-aware-v2 |
| 22 | $(MAKE) -f mk/c-u64-import.mk c-u64-import |
| 23 | $(MAKE) -f mk/translation-validate.mk translation-validate-bridge |
| 24 | nice -n 19 python3 tests/universal/translation/s2_selftest.py --omc "$(OMEGA_NATIVE_OMC)" \ |
| 25 | --omc191 build/L574/toolchain/build/bootstrap/omc --bridge-native build/T623/bridge-native \ |
| 26 | --sa2 build/L832 --s2build build/S2 --c-import-v1 build/L589/c-import --cc "$(S2_CC)" --rustc "$(S2_RUSTC)" \ |
| 27 | $(if $(S2_LOG_DIR),--log-dir "$(S2_LOG_DIR)") \ |
| 28 | --out build/S2/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)') |