commit | 58c49f6faa951fdf0bb51e97f4ad3c77528b07c4 | [log] [tgz] |
---|---|---|
author | Jian Cai <jiancai@google.com> | Thu Mar 19 21:24:59 2020 -0700 |
committer | Jian Cai <jiancai@google.com> | Wed Mar 25 22:45:38 2020 +0000 |
tree | 87cad43a0889f432e88a1c4aa2afb3b376da5492 | |
parent | eb6e55f2b6f0f99aae9a4dbccf9970b1dfb5d1ca [diff] |
llvm_tools: parameterize update_chromeos_llvm_next_hash.py Currently update_chromeos_llvm_next_hash.py can only be used to create CLs that update LLVM_NEXT_HASH in toolchain-related ebuild files, as it hardcoded which git hash to update. This change allows users to choose betwen LLVM_HASH and LLVM_NEXT_HASH, and therefore can be used to create LLVM roll CLs automatically. BUG=chromium:1057428 TEST=local tests Change-Id: Ifc0cadb7b618d4780aceb92dcc8891941c612ecb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2112250 Reviewed-by: Bob Haarman <inglorion@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Jian Cai <jiancai@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.