diff options
author | Michajlo Matijkiw <michajlo@google.com> | 2016-09-16 15:44:35 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2016-09-19 07:34:41 +0000 |
commit | af79a3255157076962d127a6e61f1bebc7b85939 (patch) | |
tree | c463a7596b7fad97236529eac51cc8b0f268bb47 /src/main/cpp/blaze.cc | |
parent | 5deab1e63b5d526d9851b15ac9f7484c751496ea (diff) |
Allow configuring writing of command.log
Sometimes, especially in the case of a lot of output, one may not want to write
everything twice.
--
MOS_MIGRATED_REVID=133388416
Diffstat (limited to 'src/main/cpp/blaze.cc')
-rw-r--r-- | src/main/cpp/blaze.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc index e57efe8ea9..493d367ee4 100644 --- a/src/main/cpp/blaze.cc +++ b/src/main/cpp/blaze.cc @@ -517,6 +517,10 @@ static vector<string> GetArgumentArray() { result.push_back("--experimental_oom_more_eagerly_threshold=" + ToString(globals->options->oom_more_eagerly_threshold)); + if (!globals->options->write_command_log) { + result.push_back("--nowrite_command_log"); + } + if (globals->options->watchfs) { result.push_back("--watchfs"); } |