MCPcopy Index your code
hub / github.com/python/cpython / _get_brew_llvm_prefix

Function _get_brew_llvm_prefix

Tools/jit/_llvm.py:77–79  ·  view source on GitHub ↗
(llvm_version: str, *, echo: bool = False)

Source from the content-addressed store, hash-verified

75
76@_async_cache
77async def _get_brew_llvm_prefix(llvm_version: str, *, echo: bool = False) -> str | None:
78 output = await _run("brew", ["--prefix", f"llvm@{llvm_version}"], echo=echo)
79 return output and output.removesuffix("\n")
80
81
82@_async_cache

Callers 1

_find_toolFunction · 0.85

Calls 2

_runFunction · 0.85
removesuffixMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…