(self, arch_names)
| 410 | self.python_recipe = None # Set by TargetPythonRecipe |
| 411 | |
| 412 | def set_archs(self, arch_names): |
| 413 | all_archs = self.archs |
| 414 | new_archs = set() |
| 415 | for name in arch_names: |
| 416 | matching = [arch for arch in all_archs if arch.arch == name] |
| 417 | for match in matching: |
| 418 | new_archs.add(match) |
| 419 | self.archs = list(new_archs) |
| 420 | if not self.archs: |
| 421 | raise BuildInterruptingException('Asked to compile for no Archs, so failing.') |
| 422 | info('Will compile for the following archs: {}'.format( |
| 423 | ', '.join(arch.arch for arch in self.archs))) |
| 424 | |
| 425 | def prepare_bootstrap(self, bootstrap): |
| 426 | if not bootstrap: |
no test coverage detected