diff options
author | Jian Cai <jiancai@google.com> | 2020-05-21 11:17:03 -0700 |
---|---|---|
committer | Jian Cai <jiancai@google.com> | 2020-05-21 18:31:27 +0000 |
commit | 02ca93bfb8c511b7207fdc3be733b985e11fb9b0 (patch) | |
tree | 7994bbad87aa56f658cf9d89c0ecd753067e4cb3 /llvm_tools/README.md | |
parent | f36b42944a454bc4fdcdb67baddd0282b3318988 (diff) | |
download | toolchain-utils-02ca93bfb8c511b7207fdc3be733b985e11fb9b0.tar.gz |
llvm_tool: update README of cherrypick_cl.py
Update its README now that we made changes to the script.
BUG=chromium:1057428
TEST=none.
Change-Id: I62e198892bc9fff2a0f930705f9451d46b50b31d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2212423
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Jian Cai <jiancai@google.com>
Diffstat (limited to 'llvm_tools/README.md')
-rw-r--r-- | llvm_tools/README.md | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm_tools/README.md b/llvm_tools/README.md index 9ede2eb5..1c1862d8 100644 --- a/llvm_tools/README.md +++ b/llvm_tools/README.md @@ -499,18 +499,20 @@ your `$PATH`, you can also use it as `git llvm-rev`. #### Usage -This script updates sys-devel/llvm with an LLVM cherrypick of your choosing, and -copies the cherrypick into sys-devel/llvm/files/cherry. +This script updates the proper ChromeOS packages with an LLVM cherrypick of your choosing, and +copies the cherrypick into patch folders of the packages. Usage: ``` -./cherrypick_cl.py --sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021 +./cherrypick_cl.py --chroot_path /abs/path/to/chroot --start_sha llvm +--sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021 --sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021 ``` -It tries to autodetect a lot of things (e.g., sys-devel/llvm's path, the -"start"/"end" revisions to set, etc.) For more information, please see the -`--help` +It tries to autodetect a lot of things (e.g., packages changed by each sha, +their ebuild paths, the "start"/"end" revisions to set, etc.) By default the +script creates a local patch. Use --create_cl option to create a CL instead. For +more information, please see the `--help` ### `revert_checker.py` |