def _build_bootstrap_phase(ph: BootstrapPhase, bts_dir: Path) -> None: | def _build_bootstrap_phase(ph: BootstrapPhase, bts_dir: Path) -> None: | ||||
print(f'Build revision: {ph.ref} [This may take a moment]') | print(f'Build revision: {ph.ref} [This may take a moment]') | ||||
env = os.environ.copy() | env = os.environ.copy() | ||||
env['DDS_BOOTSTRAP_PREV_EXE'] = str(PREBUILT_DIR / 'dds') | |||||
env['DDS_BOOTSTRAP_PREV_EXE'] = str(PREBUILT_DIR / F'dds{EXE_SUFFIX}') | |||||
_run_quiet( | _run_quiet( | ||||
[ | [ | ||||
sys.executable, | sys.executable, |
if os.name == 'nt': | if os.name == 'nt': | ||||
tc_fpath = ROOT / 'tools/msvc.dds' | tc_fpath = ROOT / 'tools/msvc.dds' | ||||
else: | else: | ||||
tc_fpath = ROOT / 'gcc-9.dds' | |||||
tc_fpath = ROOT / 'tools/gcc-9.dds' | |||||
self_deps_build(dds_exe, str(tc_fpath), paths.SELF_TEST_REPO_DIR, | self_deps_build(dds_exe, str(tc_fpath), paths.SELF_TEST_REPO_DIR, | ||||
ROOT / 'remote.dds') | ROOT / 'remote.dds') |