Lines Matching full:toolchain
55 def ToolPath(tool, toolchain=None):
57 if not toolchain:
58 toolchain = FindToolchain()
59 return glob.glob(os.path.join(toolchain, "*-" + tool))[0]
63 """Returns the toolchain matching ARCH."""
68 # We use slightly different names from GCC, and there's only one toolchain
85 toolchain = sorted(available_toolchains)[-1]
87 if not os.path.exists(ToolPath("addr2line", toolchain)):
88 raise Exception("No addr2line for %s" % (toolchain))
90 _CACHED_TOOLCHAIN = toolchain
92 print "Using %s toolchain from: %s" % (_CACHED_TOOLCHAIN_ARCH, _CACHED_TOOLCHAIN)
340 toolchain = os.environ.get(toolchain_var)
341 if not toolchain:
344 toolchain_match = re.search("\/(aarch64|arm|mips|x86)\/", toolchain)