Lines Matching refs:component

480     def component_srcdir(self, component):  argument
482 return os.path.join(self.srcdir, component)
484 def component_builddir(self, action, config, component, subconfig=None): argument
489 return os.path.join(self.builddir, action, component)
491 return os.path.join(self.builddir, action, config, component)
494 return os.path.join(self.builddir, action, config, component,
783 def set_component_version(self, component, version, explicit, revision): argument
785 self.versions[component] = {'version': version,
853 def checkout_vcs(self, component, version, update): argument
856 if component == 'binutils':
863 return self.git_checkout(component, git_url, git_branch, update)
864 elif component == 'gcc':
870 elif component == 'glibc':
876 r = self.git_checkout(component, git_url, git_branch, update)
879 elif component == 'gnumach':
882 r = self.git_checkout(component, git_url, git_branch, update)
884 cwd=self.component_srcdir(component), check=True)
886 elif component == 'mig':
889 r = self.git_checkout(component, git_url, git_branch, update)
891 cwd=self.component_srcdir(component), check=True)
893 elif component == 'hurd':
896 r = self.git_checkout(component, git_url, git_branch, update)
898 cwd=self.component_srcdir(component), check=True)
901 print('error: component %s coming from VCS' % component)
904 def git_checkout(self, component, git_url, git_branch, update): argument
908 cwd=self.component_srcdir(component), check=True)
911 cwd=self.component_srcdir(component), check=True)
913 cwd=self.component_srcdir(component), check=True)
921 self.component_srcdir(component)], check=True)
923 cwd=self.component_srcdir(component),
970 def checkout_tar(self, component, version, update): argument
984 if component not in url_map:
985 print('error: component %s coming from tarball' % component)
988 url = url_map[component] % {'version': version, 'major': version_major}
996 os.rename(os.path.join(self.srcdir, '%s-%s' % (component, version)),
997 self.component_srcdir(component))
1349 def component_builddir(self, component): argument
1351 return self.ctx.component_builddir('compilers', self.name, component)