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/dgraph-receipt.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 / dgraph-receipt.mk` 28 lines ยท 1546 bytes Raw Blame History 1 # Decode-graph performance receipt (aien-architecture#233, lane P1): tools/dgraph_receipt.om turns an 2 # existing decode-graph chip run (tools/run_gpu_decode_graph_chip.sh evidence) into one commit-bound 3 # receipt "omega-decode-graph-receipt/1" and checks such receipts. Host only: pure seeded OM-2, 4 # links nothing of libomega_gpu and no GPU header. Spec: docs/perf/DECODE_GRAPH_RECEIPT.md. Picked up 5 # by `-include mk/*.mk`; not part of `all` or `test`; run by tests/gates/run.sh chip-tool-selftests. 6 # make dgraph-receipt build/dgraph_receipt/dgraph_receipt 7 # make test-dgraph-receipt golden receipts regenerated from evidence/, checker accepts them, 8 # every negative fixture refused for its named reason 9 ifndef DGRAPH_RECEIPT_MK 10 DGRAPH_RECEIPT_MK := 1 11 .PHONY: dgraph-receipt test-dgraph-receipt 12 DGR_DIR = $(OUT_DIR)/dgraph_receipt 13 14 dgraph-receipt: $(DGR_DIR)/dgraph_receipt 15 16 $(DGR_DIR)/dgraph_receipt: tools/dgraph_receipt.om seed/out/omc 17 @mkdir -p $(DGR_DIR) 18 seed/out/omc < tools/dgraph_receipt.om > $@.tmp.$$$$ && chmod +x $@.tmp.$$$$ && mv -f $@.tmp.$$$$ $@ 19 20 # independent strict-JSON check of the golden receipts (tools/json_canon.om, pure OM-2) 21 $(DGR_DIR)/json_canon: tools/json_canon.om seed/out/omc 22 @mkdir -p $(DGR_DIR) 23 seed/out/omc < tools/json_canon.om > $@.tmp.$$$$ && chmod +x $@.tmp.$$$$ && mv -f $@.tmp.$$$$ $@ 24 25 test-dgraph-receipt: $(DGR_DIR)/dgraph_receipt $(DGR_DIR)/json_canon 26 sh tests/dgraph_receipt/run.sh $(DGR_DIR)/dgraph_receipt $(DGR_DIR)/json_canon $(DGR_DIR)/work 27 28 endif