MCPcopy Create free account
hub / github.com/ByteDance-Seed/Triton-distributed / check_env_flag

Function check_env_flag

python/setup.py:215–216  ·  view source on GitHub ↗
(name: str, default: str = "")

Source from the content-addressed store, hash-verified

213
214
215def locate_llvm(build_dir: str = None) -> str:
216 """Resolve the LLVM/MLIR install dir used to build the plugin.
217
218 Order: LLVM_INSTALL_DIR env -> Triton build CMakeCache (LLVM_SYSPATH /
219 LLVM_DIR) -> newest ~/.triton/llvm/llvm-* cache.

Callers 10

setup.pyFile · 0.85
get_build_typeFunction · 0.85
is_offline_buildFunction · 0.85
build_shmemFunction · 0.85
runMethod · 0.85
build_extension_cmakeMethod · 0.85
add_link_to_distributedFunction · 0.85
add_linksFunction · 0.85
get_packagesFunction · 0.85
get_entry_pointsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected