Introducing BHL_USE_CACHE prop which is true by default

This commit is contained in:
Pavel Shevaev 2022-10-27 15:07:41 +03:00
parent 170493979c
commit da5ce2bae0
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ function bhl_run_ex($bhl_inc_dir, array $bhl_files, $result_file, $debug = true,
"--deterministic " . "--deterministic " .
"--threads=" . getor("BHL_MAX_THREADS", is_win() ? 1 : 4) . " " . "--threads=" . getor("BHL_MAX_THREADS", is_win() ? 1 : 4) . " " .
($debug ? " -d" : "") . " " . ($debug ? " -d" : "") . " " .
($force ? " -C" : "") . " ". ($force || !getor("BHL_USE_CACHE", true) ? " -C" : "") . " ".
(!$check_deps ? " -N" : "") . " ", (!$check_deps ? " -N" : "") . " ",
$ret_var, $ret_out $ret_var, $ret_out
); );