1
0
Fork 0
This commit is contained in:
Mikhail Goncharov 2021-03-19 15:47:19 +01:00
parent 626ea5382c
commit 74a327b086

View file

@ -161,7 +161,8 @@ def run(projects: str, repo_path: str, config_file_path: str = None, *, dry_run:
env = _create_env(config)
llvm_enable_projects = _select_projects(config, projects, repo_path)
print('Enabled projects: {}'.format(llvm_enable_projects), flush=True)
arguments = _create_args(config, llvm_enable_projects, True)
# TODO: document, rename "no_cache" to clear cache.
arguments = _create_args(config, llvm_enable_projects, os.getenv('ph_no_ccache') is None)
cmd = 'cmake ' + ' '.join(arguments)
print('Running cmake with these arguments:\n{}'.format(cmd), flush=True)