Lines Matching refs:source_root
88 def load_from_path(source_root, llvmbuild_source_root):
92 return LLVMProjectInfo(source_root, infos)
94 def __init__(self, source_root, component_infos):
96 self.source_root = source_root
471 p = os.path.join(self.source_root, ci.subpath[1:], 'LLVMBuild.txt')
492 if (path.startswith(self.source_root) and os.path.exists(path)):
796 group.add_option("", "--source-root", dest="source_root", metavar="PATH",
863 source_root = opts.source_root
864 if source_root:
865 if not os.path.exists(os.path.join(source_root, 'lib', 'IR',
867 parser.error('invalid LLVM source root: %r' % source_root)
872 source_root = os.path.dirname(utils_path)
873 if not os.path.exists(os.path.join(source_root, 'lib', 'IR',
878 llvmbuild_source_root = opts.llvmbuild_source_root or source_root
880 source_root, llvmbuild_source_root)
941 inpath = os.path.join(source_root, subpath + '.in')