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/train/omega-llm/tools/contrast/Makefile # 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 / train / omega-llm / tools / contrast / Makefile` 41 lines ยท 1465 bytes Raw Blame History 1 # Build on AArch64 Linux with the repository's seeded compiler. 2 ROOT := $(abspath ../../../..) 3 OUT ?= $(ROOT)/build/omega-contrast 4 OMC ?= $(ROOT)/seed/out/omc 5 DRIVER := ../wdrive/wbuild.om 6 JSON := $(ROOT)/seed/json/json.om 7 MODEL := $(addprefix $(ROOT)/,$(shell awk '$$1=="ollm_aarch64" {$$1=""; print}' $(ROOT)/train/units.tsv)) 8 .DELETE_ON_ERROR: 9 .PHONY: all replay 10 all: $(addprefix $(OUT)/,contrast mix grade select with-example mean) 11 12 $(OUT): 13 mkdir -p "$@" 14 15 $(OUT)/driver.om: $(DRIVER) | $(OUT) 16 sed 's/^fn main to int$$/fn wbmain to int/' $< > "$@" 17 18 $(OUT)/common.om: $(OUT)/driver.om $(JSON) grade.om 19 cat $^ | sed 's/^fn main to int$$/fn priorgrade to int/' > "$@" 20 21 $(OUT)/contrast: $(OUT)/driver.om contrast.om $(OMC) 22 cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 23 24 $(OUT)/mix: mix.om $(OMC) | $(OUT) 25 "$(OMC)" < $< > "$@" && chmod +x "$@" 26 27 $(OUT)/grade: $(OUT)/driver.om $(JSON) grade.om $(OMC) 28 cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 29 30 $(OUT)/select: $(OUT)/common.om select.om $(OMC) 31 cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 32 33 $(OUT)/with-example: $(OUT)/common.om read.om with-example.om $(OMC) 34 cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 35 36 $(OUT)/mean: $(MODEL) mean.om $(OMC) | $(OUT) 37 sed 's/^fn main to int$$/fn previousmodel to int/' $(MODEL) > "$(OUT)/model-library.om" 38 cat "$(OUT)/model-library.om" mean.om | "$(OMC)" > "$@" && chmod +x "$@" 39 40 replay: all 41 bash replay.sh "$(OUT)" "$(OMC)"