Browse Source

Don't forget exe suffix when bootstrapping

default_compile_flags
vector-of-bool 5 years ago
parent
commit
4b783f3c2d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tools/bootstrap.py
  2. +1
    -1
      tools/build.py

+ 1
- 1
tools/bootstrap.py View File

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,

+ 1
- 1
tools/build.py View File

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')

Loading…
Cancel
Save