MCPcopy Index your code
hub / github.com/apache/tvm / xcrun

Function xcrun

python/tvm/support/xcode.py:29–45  ·  view source on GitHub ↗

Run xcrun and return the output. Parameters ---------- cmd : list of str The command sequence. Returns ------- out : str The output string.

(cmd)

Source from the content-addressed store, hash-verified

27
28
29def xcrun(cmd):
30 """Run xcrun and return the output.
31
32 Parameters
33 ----------
34 cmd : list of str
35 The command sequence.
36
37 Returns
38 -------
39 out : str
40 The output string.
41 """
42 cmd = ["xcrun"] + cmd
43 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
44 (out, _) = proc.communicate()
45 return out.strip()
46
47
48def __get_min_os_version(sdk):

Callers 2

create_dylibFunction · 0.85
compile_coremlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…