MCPcopy Create free account
hub / github.com/pytorch/executorch / get_dynamic_lib_name

Function get_dynamic_lib_name

setup.py:180–186  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

178
179
180def get_dynamic_lib_name(name: str) -> str:
181 if _is_windows():
182 return f"{name}.dll"
183 elif _is_macos():
184 return f"lib{name}.dylib"
185 else:
186 return f"lib{name}.so"
187
188
189def get_executable_name(name: str) -> str:

Callers 1

__init__Method · 0.85

Calls 2

_is_windowsFunction · 0.85
_is_macosFunction · 0.85

Tested by

no test coverage detected