OLD | NEW |
---|---|
1 # Updating clang | 1 # Updating clang |
2 | 2 |
3 1. Sync your Chromium tree to the latest revision to pick up any plugin | 3 1. Sync your Chromium tree to the latest revision to pick up any plugin |
4 changes and test the new compiler against ToT | 4 changes |
5 1. Update clang revision in tools/clang/scripts/update.py, upload CL to | 5 1. Run `python tools/clang/scripts/upload_revision.py --clang_revision=NNNN` |
6 rietveld | 6 with the target LLVM SVN revision number |
7 1. Run tools/clang/scripts/package.py to create a tgz of the binary (mac and | 7 1. If the clang upload trybots succeed, run the goma package update script to |
8 linux) | 8 push these packages to goma. If you do not have the necessary credentials to |
9 1. Do a local clobber build with that clang (mac and linux). Check that | 9 do the upload, ask clang@chromium.org to find someone who does |
10 everything builds fine and no new warnings appear. (Optional if the | 10 1. Run an exhaustive set of try jobs to test the new compiler: `git cl try && |
Nico
2016/05/04 16:33:11
Maybe this could be `upload_revsion.py --send-try-
| |
11 revision picked in 1 was vetted by other means already.) | |
12 1. Upload the binaries using gsutil, they will appear at | |
13 http://commondatastorage.googleapis.com/chromium-browser-clang/index.html | |
14 1. Run goma package update script to push these packages to goma, send email | |
15 1. `git cl try && | |
16 git cl try -m tryserver.chromium.mac -b mac_chromium_rel_ng -b | 11 git cl try -m tryserver.chromium.mac -b mac_chromium_rel_ng -b |
17 mac_chromium_asan_rel_ng -b mac_chromium_gn_dbg -b ios_rel_device_ninja && | 12 mac_chromium_asan_rel_ng -b mac_chromium_gn_dbg -b ios_rel_device_ninja && |
18 git cl try -m tryserver.chromium.linux -b linux_chromium_chromeos_dbg_ng | 13 git cl try -m tryserver.chromium.linux -b linux_chromium_chromeos_dbg_ng |
19 -b linux_chromium_asan_rel_ng -b linux_chromium_chromeos_asan_rel_ng | 14 -b linux_chromium_asan_rel_ng -b linux_chromium_chromeos_asan_rel_ng |
20 -b linux_chromium_rel_ng -b linux_chromium_msan_rel_ng && | 15 -b linux_chromium_rel_ng -b linux_chromium_msan_rel_ng && |
21 git cl try -m tryserver.chromium.android -b android_clang_dbg_recipe && | 16 git cl try -m tryserver.chromium.android -b android_clang_dbg_recipe && |
22 git cl try -m tryserver.blink -b linux_blink_rel` | 17 git cl try -m tryserver.blink -b linux_blink_rel` |
23 1. Commit roll CL from the first step | 18 1. Commit roll CL from the first step |
24 1. The bots will now pull the prebuilt binary, and goma will have a matching | 19 1. The bots will now pull the prebuilt binary, and goma will have a matching |
25 binary, too. | 20 binary, too. |
OLD | NEW |