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
omega-mv / mk / brownian_tps.mk
| 1 | # Lane T phases 1-2: TPS1 binariser with qint.v1 proof, hooked to the EXP-001 coders. |
| 2 | # Pure seeded OM-2: tools/brownian/brw_tps_adapter.om, tests/brownian/test_brw_tps.om. |
| 3 | # Picked up by `-include mk/*.mk`. |
| 4 | # |
| 5 | # test-brownian-tps: builds the pure OM-2 test via seed/out/omc and runs it. |
| 6 | ifndef BROWNIAN_TPS_MK |
| 7 | BROWNIAN_TPS_MK := 1 |
| 8 | .PHONY: test-brownian-tps |
| 9 | SEED_OMC ?= seed/out/omc |
| 10 | BRWT_OM_DEPS = src/turing/ty_qcont_lib.om seed/ng/sha256.om tools/brownian/brw_tps_adapter.om |
| 11 | BRWT_DIR = $(OUT_DIR)/tests-brownian-tps |
| 12 | |
| 13 | $(BRWT_DIR)/test_brw_tps: $(BRWT_OM_DEPS) tests/brownian/test_brw_tps.om $(SEED_OMC) |
| 14 | @mkdir -p $(BRWT_DIR) |
| 15 | cat $(BRWT_OM_DEPS) tests/brownian/test_brw_tps.om | $(SEED_OMC) > $@ && chmod +x $@ |
| 16 | |
| 17 | test-brownian-tps: $(BRWT_DIR)/test_brw_tps |
| 18 | ./$(BRWT_DIR)/test_brw_tps |
| 19 | @echo "test-brownian-tps: pure OM-2 TPS1 binariser proofs, EXP-001 coders, and refusals pass" |
| 20 | endif |