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 / tests / gates / omega-shlib.gate

31 lines · 1246 bytes Raw Blame History
1# Omega-built AArch64 shared libraries (bridge/shlib): the generator bridge/shlib/shlib.om and the gate
2# bridge/shlib/gate.om are seeded Omega. The gate builds the test library, an import library and its dependency,
3# the Omega RM fake transport, libomega-ampere-qmd.so.1 and libnvidia-ml.so.1 (real bodies over gpu/nvidia/native/nvml) from omc object-mode
4# output, loads each through the system's dynamic loader with an Omega-written probe, reads each through its
5# section headers with /usr/bin/readelf (a read-only oracle: soname, needed libraries and exports), checks the stack
6# probe and register save words in the wrappers, checks a second build is byte-identical, and requires each of
7# its controls (listed in gate.om's header) to be caught; run.sh pins the summary line.
8# Host only; it opens no device.
9gate: OMEGA-SHLIB
10manifest_version: 2
11owner: omega
12requires:
13 - host
14inputs:
15 - bridge/shlib/
16 - gpu/nvidia/native/nvml/
17 - gpu/nvidia/om/encoder/amp_runtime.om
18 - gpu/nvidia/om/encoder/amp_qmd.om
19 - seed/out/
20 - seed/ng/sha256.om
21 - tests/gates/omega-shlib.gate
22 - tests/gates/run.sh
23run:
24 exec: tests/gates/run.sh
25 args: ["shlib"]
26expects:
27 exit: 0
28 verdict: PASS
29timeout: 30m
30exactness: EXACT
31cache_scope: machine