From c369e299c1421cc5687bead8fb3b74888d817d55 Mon Sep 17 00:00:00 2001 From: Salud Lemus Date: Fri, 2 Aug 2019 17:20:58 -0700 Subject: 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 Reviewed-by: George Burgess Tested-by: Manoj Gupta --- llvm_tools/llvm_patch_management.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm_tools/llvm_patch_management.py') 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)) -- cgit v1.2.3