commit | c75f0ff3942b3fd2feb8bb4bcc64d3e47149ece8 | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams-Whitehead <ajordanr@google.com> | Fri Feb 23 22:02:13 2024 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 23 22:14:52 2024 +0000 |
tree | cacf92d054fb7547cd88eeb58a02b16051081ea4 | |
parent | e632e6f8dab213a3d351adfad8d35b8a91de51bb [diff] |
llvm_tools: Fix cros workon invocation At present, we invoke `cros workon` using the `cros-workon` style syntax. This unfortunately: 1. Is going to be deprecated. 2. Doesn't work outside of the chroot. 3. Assumes you're working on the --host, when in fact you may not want to workon the host, you may want to workon a board. This CL changes this behaviour, by not enabling cros workon by default (warning the user it's not workon-ed), and using the more modern cros workon syntax. BUG=None TEST=llvm_tools/setup_for_workon.py \ --workon-board volteer-scudo \ --package sys-libs/scudo TEST=llvm_tools/setup_for_workon.py \ --package sys-libs/scudo Change-Id: I4f65c73ef12e64da973a14ec1ea9b9ea7b70b35f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5321923 Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com> Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com>
toolchain-utils
Various utilities used by the ChromeOS 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.