Lines Matching refs:path
29 def _find_executable(executable, path=None):
30 """Tries to find 'executable' in the directories listed in 'path'.
35 if path is None:
36 path = os.environ['PATH']
38 paths = path.split(os.pathsep)
39 base, ext = os.path.splitext(executable)
44 if not os.path.isfile(executable):
46 f = os.path.join(p, executable)
47 if os.path.isfile(f):
78 """Find a build tool on current path or using xcrun"""
235 elif os.path.basename(cc).startswith('gcc'):
347 if not os.path.exists(sdk):
409 # It's '-isysroot/some/path' in one arg
430 if sysroot and not os.path.isdir(sysroot):
480 """Customize compiler path and configuration variables.