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
469 p = os.path.join(self.source_root, ci.subpath[1:], 'LLVMBuild.txt')
490 if (path.startswith(self.source_root) and os.path.exists(path)):
747 group.add_option("", "--source-root", dest="source_root", metavar="PATH",
810 source_root = opts.source_root
811 source_root:
812 if not os.path.exists(os.path.join(source_root, 'lib', 'IR',
814 parser.error('invalid LLVM source root: %r' % source_root)
819 source_root = os.path.dirname(utils_path)
820 if not os.path.exists(os.path.join(source_root, 'lib', 'IR',
825 llvmbuild_source_root = opts.llvmbuild_source_root or source_root
827 source_root, llvmbuild_source_root)
886 inpath = os.path.join(source_root, subpath + '.in')