Lines Matching +full:version +full:- +full:script

10 version.
21 This script is used for updating a package's LLVM hash (sys-devel/llvm,
22 sys-libs/compiler-rt, sys-libs/libcxx, and sys-libs/llvm-libunwind)
26 An example when this script should be run is when certain boards would like
33 --is_llvm_next \
34 --llvm_version tot \
36 --options nochromesdk latest-toolchain \
37 --builders kevin-release-tryjob nocturne-release-tryjob
42 in 'nochromesdk' and 'latest-toolchain' for each tryjob.
44 For help with the command line arguments of the script, run:
47 $ ./update_packages_and_run_tests.py --help
55 --llvm_version google3 \
64 --is_llvm_next \
65 --llvm_version 367622 \
67 --options -nocanary \
68 --builders chromeos/toolchain/kevin-llvm chromeos/toolchain/nocturne-llvm
75 This script is used for updating a package's/packages' LLVM hashes and
80 by the `--failure_mode` option.
82 An example where this script would be used is when multiple packages need to
89 --update_packages sys-devel/llvm sys-libs/compiler-rt \
90 --is_llvm_next \
91 --llvm_version google3 \
92 --failure_mode disable_patches
95 The example above would update sys-devel/llvm and sys-libs/compiler-rt's
97 may include patches that were disabled for either sys-devel/llvm or
98 sys-libs/compiler-rt.
100 For help with the command line arguments of the script, run:
103 $ ./update_chromeos_llvm_hash.py --help
110 --update_packages sys-devel/llvm sys-libs/compiler-rt \
111 --llvm_version tot \
112 --failure_mode disable_patches
119 --update_packages sys-devel/llvm sys-libs/compiler-rt \
120 sys-libs/libcxx sys-libs/llvm-libunwind \
121 'dev-util/lldb-server' \
122 --llvm_version 367622 \
123 --failure_mode disable_patches
130 This script is used when when all the command line arguments are known such as
133 For help with the command line arguments of the script, run:
136 $ ./patch_manager.py --help
143 --svn_version 367622 \
144 --patch_metadata_file /abs/path/to/patch/file \
145 --src_path /abs/path/to/src/tree \
146 --failure_mode continue
153 --svn_version 367622 \
154 --patch_metadata_file /abs/path/to/patch/file \
155 --src_path /abs/path/to/src/tree \
156 --failure_mode disable_patches
163 --svn_version 367622 \
164 --patch_metadata_file /abs/path/to/patch/file \
165 --src_path /abs/path/to/src/tree \
166 --failure_mode bisect_patches \
167 --good_svn_version 365631
175 --svn_version 367622 \
176 --patch_metadata_file /abs/path/to/patch/file \
177 --src_path /abs/path/to/src/tree \
178 --failure_mode bisect_patches \
179 --good_svn_version 365631 \
180 --continue_bisection True
189 This script is used to bisect a bad revision of LLVM. After the script finishes,
190 the user requires to run the script again to continue the bisection. Intially,
191 the script creates a JSON file that does not exist which then continues
192 bisection (after invoking the script again) based off of the JSON file.
198 --parallel 3 \
199 --start_rev 369410 \
200 --end_rev 369420 \
201 --last_tested /abs/path/to/tryjob/file/ \
202 --extra_change_lists 513590 \
203 --builder eve-release-tryjob \
204 --options latest-toolchain
208 revision 369410 and launching 3 tryjobs in between if possible (`--parallel`).
209 Here, the `--last_tested` path is a path to a JSON file that does not exist. The
210 tryjobs are tested on the eve board. `--extra_change_lists` and `--options`
213 For help with the command line arguments of the script, run:
216 $ ./llvm_bisection.py --help
223 This script automates the LLVM bisection process by using `cros buildresult` to
226 An example when this script would be used to do LLVM bisection overnight
233 $ ./auto_llvm_bisection.py --start_rev 369410 --end_rev 369420 \
234 --last_tested /abs/path/to/last_tested_file.json \
235 --extra_change_lists 513590 1394249 \
236 --options latest-toolchain nochromesdk \
237 --chromeos_path /path/to/chromeos/chroot \
238 --builder eve-release-tryjob
242 exists, the script resumes bisection. Otherwise, the script creates the file
243 provided by `--last_tested`. `--extra_change_lists` and `--options` are used for
245 provided by `--builder` (in this example, for the eve board).
247 For help with the command line arguments of the script, run:
250 $ ./auto_llvm_bisection.py --help
257 This script updates a tryjob's 'status' value when bisecting LLVM. This script
260 An example when this script would be used is when the result of tryjob that was
268 --set_status good \
269 --revision 369412 \
270 --status_file /abs/path/to/tryjob/file
273 The above example uses the file in `--status_file` to update a tryjob in that
276 For help with the command line arguments of the script, run:
279 $ ./update_tryjob_status.py --help
286 --set_status bad \
287 --revision 369412 \
288 --status_file /abs/path/to/tryjob/file
295 --set_status pending \
296 --revision 369412 \
297 --status_file /abs/path/to/tryjob/file
304 --set_status skip \
305 --revision 369412 \
306 --status_file /abs/path/to/tryjob/file
309 For example, to update a tryjob's 'status' based off a custom script exit code:
313 --set_status custom_script \
314 --revision 369412 \
315 --status_file /abs/path/to/tryjob/file \
316 --custom_script /abs/path/to/script.py
323 This script modifies a tryjob directly given an already created tryjob file when
325 script.
327 An example when this script would be used is when a tryjob needs to be manually
334 --modify_a_tryjob add \
335 --revision 369416 \
336 --extra_change_lists 513590 \
337 --options latest-toolchain \
338 --builder eve-release-tryjob \
339 --status_file /abs/path/to/tryjob/file
343 passing in the extra arguments (`--extra_change_lists` and `--options`). The
344 tryjob is then inserted into the file passed in via `--status_file`.
346 For help with the command line arguments of the script, run:
349 $ ./modify_a_tryjob.py --help
356 --modify_a_tryjob remove \
357 --revision 369412 \
358 --status_file /abs/path/to/tryjob/file
365 --modify_a_tryjob relaunch \
366 --revision 369418 \
367 --status_file /abs/path/to/tryjob/file
376 The script has a class that deals with retrieving either the top of trunk git
377 hash of LLVM, the git hash of google3, or a specific git hash of a SVN version.
380 In addition, it has a function to retrieve the latest google3 LLVM version.
398 For example, to retrieve the git hash of a specific SVN version:
406 For example, to retrieve the latest google3 LLVM version:
416 This script is meant to synthesize LLVM revision numbers, and translate between
420 ~> ./git_llvm_rev.py --llvm_dir llvm-project-copy/ --rev r380000
422 ~> ./git_llvm_rev.py --llvm_dir llvm-project-copy/ --sha 6f635f90929da9545dd696071a829a1a42f84b30
424 ~> ./git_llvm_rev.py --llvm_dir llvm-project-copy/ --sha origin/some-branch
428 **Tip**: if you put a symlink called `git-llvm-rev` to this script somewhere on
429 your `$PATH`, you can also use it as `git llvm-rev`.
435 This script updates the proper ChromeOS packages with LLVM patches of your choosing, and
442 ./get_upstream_patch.py --chromeos_path /abs/path/to/chroot --start_sha llvm
443 --sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021 --sha 174c3eb69f19ff2d6a3eeae31d04afe77e62c021
444 --differential D123456
449 script creates a local patch. Use --create_cl option to create a CL instead. For
450 more information, please see the `--help`
454 **This script is copied from upstream LLVM. Please prefer to make upstream edits,
455 rather than modifying this script. It's kept in a CrOS repo so we don't need an
458 This script reports reverts which happen 'across' a certain LLVM commit.
461 commit history (where `a -> b` notes that `b` is a direct child of `a`):
463 123abc -> 223abc -> 323abc -> 423abc -> 523abc
472 ./revert_checker.py -C llvm-project-copy 123abc 223abc 323abc
483 last run. If so, it either automatically cherry-picks the reverts, or sends
486 Usage example for cherry-picking:
489 cherry-pick
490 --state_file state.json \
491 --llvm_dir llvm-project-copy \
492 --chromeos_dir ../../../../
493 --reviewers=chromium-os-[email protected]
500 --state_file state.json \
501 --llvm_dir llvm-project-copy \
502 --chromeos_dir ../../../../
507 This script downloads clang crash diagnoses from
508 gs://chromeos-toolchain-artifacts/clang-crash-diagnoses and sends them to 4c for
514 $ ./bisect_clang_crashes.py --4c 4c-cli --state_file ./output/state.json
521 jobs, please refer to go/4c-cli.
525 This script downloads clang crash diagnoses from Lexan's bucket and sends them
531 $ ./upload_lexan_crashes_to_forcey.py --4c 4c-cli \
532 --state_file ./output/state.json
539 jobs, please refer to go/4c-cli.
542 date. This can be done by running this tool *once* with a `--last_date` flag.
543 This flag has the script override whatever's in the state file (if anything) and
548 This tool exists to help devs reason about `-Werror` instances that _would_
556 --directory=${repo}/out/sdk/tmp/portage/dev-cpp/gtest-1.13.0-r12/cros-artifacts
561 This script should be runnable both inside and outside of the chroot.
563 This script exists to help users fill in the llvm-next testing matrix. It's
568 $ ./fetch_cq_size_diff.py --image gs \
569 gs://chromeos-image-archive/asurada-release/R122-15712.0.0/image.zip
570 gs://chromeos-image-archive/asurada-cq/R122-15712.0.0-92036-8761629109681962289/image.zip
573 For convenience, this script can also figure out what to compare from a CL, like
577 $ ./fetch_cq_size_diff.py --image cl \
578 https://chromium-review.googlesource.com/c/chromiumos/overlays/board-overlays/+/5126116/3
581 In the above case, this script will find a completed CQ build associated with
585 green boards to pick from, this script should be able to make a comparison.