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

Unified Diff: docs/updating_clang.md

Issue 2875363002: updating_clang.md: Add step for copying from the staging bucket (Closed)
Patch Set: prebuilt Created 3 years, 7 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: docs/updating_clang.md
diff --git a/docs/updating_clang.md b/docs/updating_clang.md
index 6d2ff23bf612487781b103b012f7e27b7deacb58..407c221d4a149dd303ce920831f61d47bc178370 100644
--- a/docs/updating_clang.md
+++ b/docs/updating_clang.md
@@ -3,10 +3,27 @@
1. Sync your Chromium tree to the latest revision to pick up any plugin
changes
1. Run `python tools/clang/scripts/upload_revision.py --clang_revision=NNNN`
- with the target LLVM SVN revision number
-1. If the clang upload try bots succeed, run the goma package update script to
- push these packages to goma. If you do not have the necessary credentials to
- do the upload, ask clang@chromium.org to find someone who does
+ with the target LLVM SVN revision number. This creates a roll CL on a new
+ branch, uploads it and starts tryjobs that build the compiler binaries into
+ a staging bucket on Google Cloud Storage (GCS).
+1. If the clang upload try bots succeed, copy the binaries from the staging
+ bucket to the production one. For example:
+
+```
+$ export rev=123456-1
+$ for x in Linux_x64 Mac Win ; do \
+ gsutil cp -n -a public-read gs://chromium-browser-clang-staging/$x/clang-$rev.tgz \
+ gs://chromium-browser-clang/$x/clang-$rev.tgz ; \
+ gsutil cp -n -a public-read gs://chromium-browser-clang-staging/$x/llvmobjdump-$rev.tgz \
+ gs://chromium-browser-clang/$x/llvmobjdump-$rev.tgz ; \
+ done
+$ gsutil cp -n -a public-read gs://chromium-browser-clang-staging/Linux_x64/llvmgold-$rev.tgz \
+ gs://chromium-browser-clang/Linux_x64/llvmgold-$rev.tgz
+```
+
+1. Run the goma package update script to push these packages to goma. If you do
+ not have the necessary credentials to do the upload, ask clang@chromium.org
+ to find someone who does
1. Run an exhaustive set of try jobs to test the new compiler:
```
git cl try &&
« 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