diff options
author | Jian Cai <jiancai@google.com> | 2020-04-13 18:51:44 -0700 |
---|---|---|
committer | Jian Cai <jiancai@google.com> | 2020-04-14 22:23:19 +0000 |
commit | 5d09ca047e14466720c080f0e7e627582fad8ec8 (patch) | |
tree | 156186ebb35534ddbb9b29dab0f70a95915417d9 /llvm_tools/README.md | |
parent | 624bdfc1e82dcaaf577bb843cafc2d4ec36b43fd (diff) | |
download | toolchain-utils-5d09ca047e14466720c080f0e7e627582fad8ec8.tar.gz |
llvm_tools: merge update_packages_*.py files
Merge update_packages_and_run_tryjobs.py and
update_packages_and_test_cq.py as the two modules share much command
code.
BUG=chromium:1001602
TEST=local tests.
Change-Id: Iac957ea77af4257e454fec99ff13424e778ec51a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2148478
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 | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/llvm_tools/README.md b/llvm_tools/README.md index d42462ad..ce094e98 100644 --- a/llvm_tools/README.md +++ b/llvm_tools/README.md @@ -14,13 +14,13 @@ version. **NOTE: sudo must be permissive (i.e. **`cros_sdk`** should NOT prompt for a password)** -## `update_packages_and_run_tryjobs.py` +## `update_packages_and_run_tests.py` ### Usage -This script is used for updating a package's `LLVM_NEXT_HASH` (sys-devel/llvm, +This script is used for updating a package's LLVM hash (sys-devel/llvm, sys-libs/compiler-rt, sys-libs/libcxx, sys-libs/libcxxabi, and -sys-libs/llvm-libunwind) and then run tryjobs after updating the git hash. +sys-libs/llvm-libunwind) and then run tests after updating the git hash. An example when this script should be run is when certain boards would like to be tested with the updated `LLVM_NEXT_HASH`. @@ -28,8 +28,10 @@ to be tested with the updated `LLVM_NEXT_HASH`. For example: ``` -$ ./update_packages_and_run_tryjobs.py \ +$ ./update_packages_and_run_tests.py \ + --is_llvm_next \ --llvm_version tot \ + tryjobs \ --options nochromesdk latest-toolchain \ --builders kevin-release-tryjob nocturne-release-tryjob ``` @@ -41,25 +43,26 @@ in 'nochromesdk' and 'latest-toolchain' for each tryjob. For help with the command line arguments of the script, run: ``` -$ ./update_packages_and_run_tryjobs.py --help +$ ./update_packages_and_run_tests.py --help ``` -Similarly as the previous example, but for updating `LLVM_NEXT_HASH` to -google3: +Similarly as the previous example, but for updating `LLVM_HASH` to +google3 and test with cq+1: ``` -$ ./update_packages_and_run_tryjobs.py \ +$ ./update_packages_and_run_tests.py \ --llvm_version google3 \ - --options nochromesdk latest-toolchain \ - --builders kevin-release-tryjob nocturne-release-tryjob + cq ``` Similarly as the previous example, but for updating `LLVM_NEXT_HASH` to -the git hash of revision 367622: +the git hash of revision 367622 and test with tryobs: ``` -$ ./update_packages_and_run_tryjobs.py \ +$ ./update_packages_and_run_tests.py \ + --is_llvm_next \ --llvm_version 367622 \ + tryjobs \ --options nochromesdk latest-toolchain \ --builders kevin-release-tryjob nocturne-release-tryjob ``` |