|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOOTSTRAP_PHASES = [ |
|
|
BOOTSTRAP_PHASES = [ |
|
|
BootstrapPhase('bootstrap-p1', 'g++-8', 'cl.exe'), |
|
|
|
|
|
BootstrapPhase('bootstrap-p4', 'g++-8', 'cl.exe'), |
|
|
|
|
|
BootstrapPhase('bootstrap-p5.1', 'g++-9', 'cl.exe'), |
|
|
|
|
|
|
|
|
BootstrapPhase('bootstrap-p1.1', 'g++8', 'cl.exe'), |
|
|
|
|
|
BootstrapPhase('bootstrap-p4.2', 'g++8', 'cl.exe'), |
|
|
|
|
|
BootstrapPhase('bootstrap-p5.2', 'g++9', 'cl.exe'), |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
HERE = Path(__file__).parent.absolute() |
|
|
HERE = Path(__file__).parent.absolute() |
|
|
|
|
|
|
|
|
return _pull_executable(bts_dir) |
|
|
return _pull_executable(bts_dir) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main(argv: Sequence[str]) -> int: |
|
|
|
|
|
|
|
|
def main() -> int: |
|
|
for idx, phase in enumerate(BOOTSTRAP_PHASES): |
|
|
for idx, phase in enumerate(BOOTSTRAP_PHASES): |
|
|
print(f'Bootstrap phase [{idx+1}/{len(BOOTSTRAP_PHASES)}]') |
|
|
print(f'Bootstrap phase [{idx+1}/{len(BOOTSTRAP_PHASES)}]') |
|
|
exe = _run_boot_phase(phase) |
|
|
exe = _run_boot_phase(phase) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|
sys.exit(main(sys.argv[1:])) |
|
|
|
|
|
|
|
|
sys.exit(main()) |