cros_setup_toolchains: Add clang to list of MANUAL_PKGS.
clang and llvm ebuild version are tied together and need to be
updated simultaneously when --latest-toolchain is used.
When the builds are renamed to a newer version, Currently only llvm
gets updated and emerge fails because the preexisitng clang's dependency
is not satisfied.
e.g https://uberchromegw.corp.google.com/i/chromeos/builders/amd64-gcc-toolchain/builds/338.
BUG=chromium:751740
TEST=cros_setup_toolchains updates both clang and llvm.
Change-Id: Ifa108740744af47c6f263c928954626fea477762
Reviewed-on: https://chromium-review.googlesource.com/598498
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/cros_setup_toolchains.py b/scripts/cros_setup_toolchains.py
index 288c4f9..55be809 100644
--- a/scripts/cros_setup_toolchains.py
+++ b/scripts/cros_setup_toolchains.py
@@ -102,6 +102,7 @@
# Packages that needs separate handling, in addition to what we have from
# crossdev.
MANUAL_PKGS = {
+ 'clang': 'sys-devel',
'llvm': 'sys-devel',
'libcxxabi': 'sys-libs',
'libcxx': 'sys-libs',