MCPcopy Create free account
hub / github.com/apache/tvm / _is_linux_like

Function _is_linux_like

python/tvm/support/cc.py:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def _is_linux_like():
31 return (
32 sys.platform == "darwin"
33 or sys.platform.startswith("linux")
34 or sys.platform.startswith("freebsd")
35 )
36
37
38def _is_windows_like():

Callers 7

test_sharedFunction · 0.90
test_executableFunction · 0.90
get_ccFunction · 0.85
create_sharedFunction · 0.85
create_staticlibFunction · 0.85
create_executableFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_sharedFunction · 0.72
test_executableFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…