diff options
author | Salud Lemus <saludlemus@google.com> | 2019-08-02 17:20:58 -0700 |
---|---|---|
committer | Manoj Gupta <manojgupta@chromium.org> | 2019-08-06 20:44:01 +0000 |
commit | c369e299c1421cc5687bead8fb3b74888d817d55 (patch) | |
tree | 061c79d7bc9ef1e330c4b82097f1d20902f44d98 /llvm_tools/llvm_patch_management.py | |
parent | ad16df98e04ca5afeb51793a5a0eef71610df71a (diff) | |
download | toolchain-utils-c369e299c1421cc5687bead8fb3b74888d817d55.tar.gz |
LLVM tools: Added script that runs tryjobs after updating the packages
BUG=None
TEST=Ran the script and a CL was generated for ToT correctly and two
trybots were created, one for kevin and one for nocturne
Change-Id: I856c23d4368f5e45d9837e6f4341ae1f97f8f136
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1733650
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: George Burgess <gbiv@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'llvm_tools/llvm_patch_management.py')
-rwxr-xr-x | llvm_tools/llvm_patch_management.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm_tools/llvm_patch_management.py b/llvm_tools/llvm_patch_management.py index c8d21d45..e50b99dd 100755 --- a/llvm_tools/llvm_patch_management.py +++ b/llvm_tools/llvm_patch_management.py @@ -205,7 +205,10 @@ def UnpackLLVMPackage(chroot_path, package): unpack_cmd = 'sudo ebuild %s clean unpack' % quote(ebuild_path) ret, _, err = ce.ChrootRunCommandWOutput( - chromeos_root=chroot_path, command=unpack_cmd, print_to_console=False) + chromeos_root=chroot_path, + command=unpack_cmd, + print_to_console=False, + env=dict(os.environ, USE='llvm-next')) if ret: # Failed to unpack the package. raise ValueError('Failed to unpack the package %s: %s' % (package, err)) |