Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: compute_engine_scripts/buildbots/vm_setup_utils.sh

Issue 1236793007: GCE setup: Replace default Clang with 3.6 (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compute_engine_scripts/buildbots/vm_setup_utils.sh
diff --git a/compute_engine_scripts/buildbots/vm_setup_utils.sh b/compute_engine_scripts/buildbots/vm_setup_utils.sh
index 051c54ba9992cabf73115f2cb22986f4681fdf2f..ab28398f3b85f85ca38415ef08626129d2404bd5 100644
--- a/compute_engine_scripts/buildbots/vm_setup_utils.sh
+++ b/compute_engine_scripts/buildbots/vm_setup_utils.sh
@@ -14,7 +14,7 @@ function install_packages {
"sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password tmp_pass' && " \
"sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password tmp_pass' && " \
"sudo apt-get -y install mercurial mysql-client mysql-server valgrind libosmesa-dev npm " \
- " nodejs-legacy libexpat1-dev:i386 && " \
+ " nodejs-legacy libexpat1-dev:i386 clang-3.6 && " \
"mysql -uroot -ptmp_pass -e \"SET PASSWORD = PASSWORD('');\" && " \
"wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && " \
"mkdir -p ~/.config/google-chrome && touch ~/.config/google-chrome/First\ Run && " \
@@ -28,9 +28,10 @@ function setup_symlinks {
# Add new symlinks that are not yet part of the image below.
echo
echo "Setup Symlinks"
- # $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \
- # "sudo ln -s -f /usr/bin/ccache /usr/local/bin/cc" \
- # || FAILED="$FAILED InstallPackages"
+ $GCOMPUTE_CMD ssh --ssh_user=$PROJECT_USER $INSTANCE_NAME \
+ "sudo ln -s -f /usr/bin/clang-3.6 /usr/bin/clang && " \
+ "sudo ln -s -f /usr/bin/clang++-3.6 /usr/bin/clang++" \
+ || FAILED="$FAILED InstallPackages"
echo
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698