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/prime_race.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 / prime_race.mk` 25 lines ยท 1273 bytes Raw Blame History 1 # AIEN Prime Drag Race (bench/prime_race/): implementation-side protocol + conventional CPU baseline. 2 # Pure seeded OM-2 standalone module under bench/prime_race/. Picked up by `-include mk/*.mk`; 3 # not part of `all` or `test`. No C, no physics, no GPU, no libraries. 4 # 5 # prime-race-cpu builds bench/prime_race/build/cpu_base via seed/out/omc 6 # prime-race-host-test trial-division oracle test of cpu_base + protocol formatting/parsing 7 ifndef PRIME_RACE_MK 8 PRIME_RACE_MK := 1 9 .PHONY: prime-race-cpu prime-race-host-test 10 PR_DIR = bench/prime_race 11 PR_BUILD = $(PR_DIR)/build 12 PR_OMC ?= seed/out/omc 13 PR_CORE_OM = $(PR_DIR)/prime_race_impl.om $(PR_DIR)/cpu_base.om 14 15 $(PR_BUILD)/cpu_base: $(PR_CORE_OM) $(PR_DIR)/cpu_base_main.om $(PR_OMC) 16 @mkdir -p $(PR_BUILD) 17 cat $(PR_CORE_OM) $(PR_DIR)/cpu_base_main.om | $(PR_OMC) > $@.tmp.$$$$ && chmod +x $@.tmp.$$$$ && mv -f $@.tmp.$$$$ $@ 18 prime-race-cpu: $(PR_BUILD)/cpu_base 19 20 $(PR_BUILD)/prime_race_host_test: $(PR_CORE_OM) $(PR_DIR)/tests/prime_race_host_test.om $(PR_OMC) 21 @mkdir -p $(PR_BUILD) 22 cat $(PR_CORE_OM) $(PR_DIR)/tests/prime_race_host_test.om | $(PR_OMC) > $@.tmp.$$$$ && chmod +x $@.tmp.$$$$ && mv -f $@.tmp.$$$$ $@ 23 prime-race-host-test: $(PR_BUILD)/prime_race_host_test 24 ./$(PR_BUILD)/prime_race_host_test 25 endif