Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/mk/visor-machine.mk # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / mk / visor-machine.mk` 25 lines ยท 1780 bytes Raw Blame History 1 # Omega Visor V1 lane 5 (machine + realization lab) test targets, pure seeded OM-2. 2 # The retired C lane linked the Blackwell realize objects into its test (visor_machine.c held a 3 # weak omega_blackwell_get_machine_id); src/visor/visor_machine.om carries the declared Blackwell 4 # machine id itself and links no C object, so no object list is needed here. 5 6 # test_visor_machine: pure seeded OM-2 (tests/visor/test_visor_machine.om), built by 7 # $(VISOR_OMC) from the machine module and the shared Visor core. 8 VISOR_MACHINE_OM_SRCS = src/visor/visor.om src/visor/visor_machine.om 9 10 $(OUT_DIR)/tests-visor/test_visor_machine: tests/visor/test_visor_machine.om $(VISOR_MACHINE_OM_SRCS) $(VISOR_OMC) | $(OUT_DIR)/tests-visor 11 (printf 'om2\n'; sed '/^om2$$/d' $(VISOR_MACHINE_OM_SRCS) tests/visor/test_visor_machine.om) | $(VISOR_OMC) > $@ && chmod +x $@ 12 13 # The realization lab is pure seeded OM-2 too (visor_program.om + visor_realization.om over the 14 # shared OM-2 AArch64 and verifier units, whose `export fn` is a plain fn in a program). 15 VISOR_REALIZATION_OM_SRCS = src/visor/visor.om $(VISOR_OM_UNITS) src/visor/visor_machine.om \ 16 src/visor/visor_program.om src/visor/visor_realization.om 17 $(OUT_DIR)/tests-visor/test_visor_realization: tests/visor/test_visor_realization.om $(VISOR_REALIZATION_OM_SRCS) $(VISOR_OMC) | $(OUT_DIR)/tests-visor 18 (printf 'om2\n'; sed -e '/^om2$$/d' -e 's/^export fn /fn /' $(VISOR_REALIZATION_OM_SRCS) tests/visor/test_visor_realization.om) | $(VISOR_OMC) > $@ && chmod +x $@ 19 20 .PHONY: test-visor-machine test-visor-realization 21 test-visor-machine: $(OUT_DIR)/tests-visor/test_visor_machine 22 ./$(OUT_DIR)/tests-visor/test_visor_machine 23 24 test-visor-realization: $(OUT_DIR)/tests-visor/test_visor_realization 25 ./$(OUT_DIR)/tests-visor/test_visor_realization