Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
def
_is_linux_like():
31
return
(
32
sys.platform ==
"darwin"
33
or sys.platform.startswith(
"linux"
)
34
or sys.platform.startswith(
"freebsd"
)
35
)
36
37
38
def
_is_windows_like():
Callers
7
test_shared
Function · 0.90
test_executable
Function · 0.90
get_cc
Function · 0.85
create_shared
Function · 0.85
create_staticlib
Function · 0.85
create_executable
Function · 0.85
get_global_symbol_section_map
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_shared
Function · 0.72
test_executable
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…