MCPcopy Create free account
hub / github.com/apache/tvm-ffi / obj

Function obj

addons/tvm_ffi_orcjit/tests/test_basic.py:50–55  ·  view source on GitHub ↗

Return path to a pre-built test object file, or skip if missing.

(name: str)

Source from the content-addressed store, hash-verified

48
49
50def obj(name: str) -> str:
51 """Return path to a pre-built test object file, or skip if missing."""
52 path = OBJ_DIR / f"{name}.o"
53 if not path.exists():
54 pytest.skip(f"{path.name} not found (not built)")
55 return str(path)
56
57
58def make_lib(

Calls

no outgoing calls

Tested by

no test coverage detected