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 / polyglot-asm.mk

22 lines · 730 bytes Raw Blame History
1# POLYGLOT-0 lane B1: pure seeded OM-2 correctness gate (spec/polyglot-0.md).
2# test-polyglot-asm: builds and runs tests/polyglot/test_asm.om via seed/out/omc
3# (error contract, MA-3 shape grid, random unaligned+canary cases, large magnitudes
4# up to OMA_RZ_MAX_N).
5# Guarded because Makefile includes mk/*.mk and mk/polyglot.mk may be read alongside.
6ifndef POLYGLOT_ASM_MK
7POLYGLOT_ASM_MK := 1
8
9PGA_OMC ?= seed/out/omc
10PGA_DIR = $(OUT_DIR)/tests-polyglot
11PGA_SRCS = src/polyglot/omx_common.om tests/polyglot/test_asm.om
12PGA_TEST = $(PGA_DIR)/test_asm
13
14$(PGA_TEST): $(PGA_SRCS)
15 @mkdir -p $(dir $@)
16 cat $(PGA_SRCS) | $(PGA_OMC) > $@ && chmod +x $@
17
18.PHONY: test-polyglot-asm
19test-polyglot-asm: $(PGA_TEST)
20 ./$(PGA_TEST)
21
22endif