andybons | 3322f76 | 2015-08-24 21:37:09 | [diff] [blame] | 1 | # Updating clang |
| 2 | |
nodir | 06cbaa0 | 2015-08-25 17:15:24 | [diff] [blame] | 3 | 1. Sync your Chromium tree to the latest revision to pick up any plugin |
rnk | 61e1abc6 | 2016-05-04 16:50:21 | [diff] [blame] | 4 | changes |
| 5 | 1. Run `python tools/clang/scripts/upload_revision.py --clang_revision=NNNN` |
| 6 | with the target LLVM SVN revision number |
| 7 | 1. If the clang upload trybots succeed, run the goma package update script to |
| 8 | push these packages to goma. If you do not have the necessary credentials to |
| 9 | do the upload, ask clang@chromium.org to find someone who does |
thakis | 3447dcd | 2016-05-05 18:17:15 | [diff] [blame^] | 10 | 1. Run an exhaustive set of try jobs to test the new compiler: |
| 11 | ``` |
| 12 | git cl try && |
| 13 | git cl try -m tryserver.chromium.mac -b mac_chromium_asan_rel_ng |
| 14 | -b mac_chromium_gn_dbg && |
thakis | 86757ab | 2015-12-08 21:51:47 | [diff] [blame] | 15 | git cl try -m tryserver.chromium.linux -b linux_chromium_chromeos_dbg_ng |
thakis | 3447dcd | 2016-05-05 18:17:15 | [diff] [blame^] | 16 | -b linux_chromium_chromeos_asan_rel_ng -b linux_chromium_msan_rel_ng && |
| 17 | git cl try -m tryserver.blink -b linux_blink_rel |
| 18 | ``` |
nodir | 06cbaa0 | 2015-08-25 17:15:24 | [diff] [blame] | 19 | 1. Commit roll CL from the first step |
| 20 | 1. The bots will now pull the prebuilt binary, and goma will have a matching |
| 21 | binary, too. |