Przeglądaj źródła

Don't forget exe suffix when bootstrapping

default_compile_flags
vector-of-bool 5 lat temu
rodzic
commit
4b783f3c2d
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      tools/bootstrap.py
  2. +1
    -1
      tools/build.py

+ 1
- 1
tools/bootstrap.py Wyświetl plik

@@ -68,7 +68,7 @@ def _clone_bootstrap_phase(ref: str) -> Path:
def _build_bootstrap_phase(ph: BootstrapPhase, bts_dir: Path) -> None:
print(f'Build revision: {ph.ref} [This may take a moment]')
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(
[
sys.executable,

+ 1
- 1
tools/build.py Wyświetl plik

@@ -38,7 +38,7 @@ def main(argv: Sequence[str]) -> int:
if os.name == 'nt':
tc_fpath = ROOT / 'tools/msvc.dds'
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,
ROOT / 'remote.dds')

Ładowanie…
Anuluj
Zapisz