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 / visor-machine.mk

20 lines · 1398 bytes Raw Blame History
1# Omega Visor V1 lane 5 (machine + realization lab) test targets.
2# The Blackwell realize objects compile and link physics-free (only sha256 +
3# omega_core deps). visor_machine.c references omega_blackwell_get_machine_id
4# WEAKLY, so build/omega links with or without them; these lane tests link
5# them explicitly so the declared Blackwell target shows linked=yes.
6VISOR_BW_CORE = omega_vector omega_blackwell_qmd omega_blackwell_encoder omega_blackwell_realize
7VISOR_BW_OBJS = $(addprefix $(OUT_DIR)/,$(addsuffix .o,$(filter-out $(VISOR_CORE),$(VISOR_BW_CORE))))
8
9$(OUT_DIR)/tests-visor/test_visor_machine: tests/visor/test_visor_machine.c $(VISOR_CORE_OBJS) $(VISOR_BW_OBJS) $(VISOR_OBJS) $(LANG_OBJS) | $(OUT_DIR)/tests-visor
10 $(CC) $(VISOR_CFLAGS) -Itests/visor -o $@ $< $(VISOR_CORE_OBJS) $(VISOR_BW_OBJS) $(VISOR_OBJS) $(LANG_OBJS)
11
12$(OUT_DIR)/tests-visor/test_visor_realization: tests/visor/test_visor_realization.c $(VISOR_CORE_OBJS) $(VISOR_BW_OBJS) $(VISOR_OBJS) $(LANG_OBJS) | $(OUT_DIR)/tests-visor
13 $(CC) $(VISOR_CFLAGS) -Itests/visor -o $@ $< $(VISOR_CORE_OBJS) $(VISOR_BW_OBJS) $(VISOR_OBJS) $(LANG_OBJS)
14
15.PHONY: test-visor-machine test-visor-realization
16test-visor-machine: $(OUT_DIR)/tests-visor/test_visor_machine
17 ./$(OUT_DIR)/tests-visor/test_visor_machine
18
19test-visor-realization: $(OUT_DIR)/tests-visor/test_visor_realization
20 ./$(OUT_DIR)/tests-visor/test_visor_realization