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/cpp-u64.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 / cpp-u64.mk` 26 lines ยท 2034 bytes Raw Blame History 1 # #739 C++ lane (translation-compose-v2): cpp17-uint64-pure-v1 importer and extended-family C++ exporter. 2 # Author self-test only (TESTED). No default under $HOME or another checkout; required (NOT_RUN, exit 3 if unset): 3 # SA_SEED_REPO clone holding bridge commit `0fc7d866` (tools/source-aware/build, build-v2) 4 # OMEGA_NATIVE_OMC the pinned omc `734f0a39` (lowering, retarget and the native realization) 5 # OMEGA_BRIDGE_REPO clone holding omega-bridge `012860db` (native.om binding generator) 6 # Oracles: CXX (default g++ on PATH; missing = NOT_RUN, exit 3) and CC (default cc on PATH). 7 # Every in-tree prerequisite is built here: the C++ adapters (build/L739), the C importer (build/L589), the 8 # G1 C exporter (build/L622), the lowering (build/L831), the v2 codec (build/L832) and, when the checkout has 9 # it, the #624 retarget tool (build/L833), which then provides R(U, M). CPP_SELFTEST_RETARGET overrides it. 10 .PHONY: cpp-u64 test-cpp-u64 cpp-u64-env 11 export SA_SEED_REPO OMEGA_NATIVE_OMC OMEGA_BRIDGE_REPO 12 CPP_RETARGET_BUILD := $(wildcard tools/adapters/build-retarget.py) 13 cpp-u64-env: 14 @test -n "$(SA_SEED_REPO)" || { echo 'NOT_RUN set SA_SEED_REPO to a clone holding bridge commit `0fc7d866`'; exit 3; } 15 cpp-u64: cpp-u64-env 16 nice -n 19 python3 tools/adapters/build-cpp-u64.py 17 test-cpp-u64: cpp-u64 18 @test -n "$(OMEGA_NATIVE_OMC)" || { echo 'NOT_RUN set OMEGA_NATIVE_OMC to the pinned omc `734f0a39`'; exit 3; } 19 @test -n "$(OMEGA_BRIDGE_REPO)" || { echo 'NOT_RUN set OMEGA_BRIDGE_REPO to a clone holding omega-bridge `012860db`'; exit 3; } 20 nice -n 19 python3 tools/adapters/build-c-import.py 21 nice -n 19 python3 tools/adapters/build-c-export.py 22 nice -n 19 python3 tools/adapters/build-lower.py 23 nice -n 19 tools/source-aware/build-v2 24 $(if $(CPP_RETARGET_BUILD),nice -n 19 python3 tools/adapters/build-retarget.py) 25 nice -n 19 python3 tests/universal/translation/cpp_selftest.py --omc "$(OMEGA_NATIVE_OMC)" --bridge "$(OMEGA_BRIDGE_REPO)" \ 26 --out build/L739/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)')