瀏覽代碼

Don't forget exe suffix when bootstrapping

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
4b783f3c2d
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      tools/bootstrap.py
  2. +1
    -1
      tools/build.py

+ 1
- 1
tools/bootstrap.py 查看文件

@@ -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 查看文件

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

Loading…
取消
儲存