commit | 61f298e5615517947cbaab5db8c783284fbd392a | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Fri Feb 21 13:34:47 2020 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 25 18:00:54 2020 +0000 |
tree | 9cc422c3d0eea93c29648a28a6f2cd89388eb8db | |
parent | c175a38c1d0fee61f4df71f1fecb13a36c1ebd28 [diff] |
compiler_wrapper: fix write() races If we make this function write its data atomically to the RUSAGE file, we can have all compilations log to this file, which would allow us to trivially log all of the build info for a given tryjob. BUG=chromium:1054897 TEST=nocturne-llvm-next-toolchain-tryjob. Local --nousepkg build_packages produced a file with 0 torn lines. Change-Id: Ic6b014af11e812111fa21a56133bbe1b6b31f954 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2066710 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.