Browse Source

Fix build and self_build in prep for new bootstrap phase

default_compile_flags
vector-of-bool 4 years ago
parent
commit
157af69f7d
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      tools/build.py
  2. +1
    -1
      tools/self_build.py

+ 3
- 1
tools/build.py View File

else: else:
tc_fpath = ROOT / 'tools/gcc-9.jsonc' tc_fpath = ROOT / 'tools/gcc-9.jsonc'


self_build(dds_exe, toolchain=str(tc_fpath))
self_build(dds_exe,
cat_json_path=ROOT / 'catalog.old.json',
toolchain=str(tc_fpath))


return 0 return 0



+ 1
- 1
tools/self_build.py View File

new_exe, new_exe,
'build', 'build',
f'--catalog={cat_path}', f'--catalog={cat_path}',
f'--repo-dir=_build/ci-repo',
f'--repo-dir={ROOT}/_build/ci-repo',
dds_flags, dds_flags,
('--toolchain', toolchain), ('--toolchain', toolchain),
('-I', lmi_path) if lmi_path else (), ('-I', lmi_path) if lmi_path else (),

Loading…
Cancel
Save