commit | 94fd622c652b7aa46f2ca24d3a0efe93c7fde040 | [log] [tgz] |
---|---|---|
author | Bob Haarman <inglorion@google.com> | Thu Jul 09 17:14:53 2020 -0700 |
committer | Bob Haarman <inglorion@chromium.org> | Tue Jul 14 19:59:18 2020 +0000 |
tree | 8fd77289f99163ebaae2a0e1f7f250fbf0081cdf | |
parent | 6cfbb3d75dbd5383419814804f4d94b699537b50 [diff] |
compiler_wrapper: remove -grecord-gcc-switches -grecord-gcc-switches causes the compiler and compiler flags to be stored in the produced debug information. This causes Goma builds to be non-deterministic, because the compiler path differs depending on whether the compiler was run locally or on Goma. This, in turn, causes cache pollution and needless work. Since we are not in fact using the information stored by -grecord-gcc-switches, this change disables it. We can re-enable it when we want to start using the information, provided we come up with another way to avoid the issues described earlier. BUG=chromium:1103065 TEST=Build an object file in chromeos-chrome and check that info is absent Change-Id: Ib8022a3a1baf2e4b5d3d9d1453deb67f539baff4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2290624 Commit-Queue: Bob Haarman <inglorion@chromium.org> Tested-by: Bob Haarman <inglorion@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Reviewed-by: Tiancong Wang <tcwang@google.com>
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.