David Benjamin | 659b24d | 2016-03-09 17:46:47 -0500 | [diff] [blame] | 1 | This directory consumes tools from other repositories for use on the |
| 2 | bots. To update to newer revisions, follow these instructions: |
| 3 | |
David Benjamin | 3ccf4d6 | 2016-05-19 00:33:41 -0400 | [diff] [blame] | 4 | DEPS: Set all revisions to those used in Chromium, found at |
| 5 | https://chromium.googlesource.com/chromium/src/+/master/DEPS (Search for the |
| 6 | corresponding repository name.) |
David Benjamin | 659b24d | 2016-03-09 17:46:47 -0500 | [diff] [blame] | 7 | |
| 8 | go/bootstrap.py: Set TOOLSET_VERSION to the latest release of Go, found at |
| 9 | https://golang.org/dl/. |
| 10 | |
| 11 | update_clang.py: Set CLANG_REVISION and CLANG_SUB_REVISION to the values used in |
| 12 | Chromium, found at |
| 13 | https://chromium.googlesource.com/chromium/src/+/master/tools/clang/scripts/update.py |
| 14 | |
David Benjamin | 3b5b87f | 2017-10-05 13:40:33 -0400 | [diff] [blame] | 15 | vs_toolchain.py: Update _GetDesiredVsToolchainHashes from Chromium, found at |
David Benjamin | 659b24d | 2016-03-09 17:46:47 -0500 | [diff] [blame] | 16 | https://chromium.googlesource.com/chromium/src/+/master/build/vs_toolchain.py |
David Benjamin | 3b5b87f | 2017-10-05 13:40:33 -0400 | [diff] [blame] | 17 | This may require taking other updates to that file. (Don't remove MSVC |
| 18 | versions if BoringSSL still needs to support them.) |
David Benjamin | 659b24d | 2016-03-09 17:46:47 -0500 | [diff] [blame] | 19 | |
David Benjamin | 8169df2 | 2016-03-09 18:05:12 -0500 | [diff] [blame] | 20 | The .sha1 files correspond to files downloaded from Google Cloud Storage. To |
| 21 | update, place the updated files in their intended location and run: |
| 22 | |
| 23 | upload_to_google_storage.py -b chromium-tools FILE |
| 24 | |
David Benjamin | 8f307d3 | 2016-03-09 18:40:04 -0500 | [diff] [blame] | 25 | cmake-linux64.tar.gz: Download the latest CMake source tarball, found at |
| 26 | https://cmake.org/download/. Build it with: |
| 27 | |
| 28 | ./bootstrap --prefix=$PWD/cmake-linux64 && make && make install |
| 29 | tar -czf cmake-linux64.tar.gz cmake-linux64/ |
| 30 | |
David Benjamin | d870cbd | 2017-12-13 14:40:31 -0500 | [diff] [blame] | 31 | The current revision was built against cmake-3.10.0.tar.gz. |
David Benjamin | a93bc11 | 2017-06-29 15:26:05 -0400 | [diff] [blame] | 32 | |
David Benjamin | 8f307d3 | 2016-03-09 18:40:04 -0500 | [diff] [blame] | 33 | cmake-mac.tar.gz: Follow the same instructions as above on a Mac, but replace |
| 34 | cmake-linux64 with cmake-mac. |
| 35 | |
David Benjamin | d870cbd | 2017-12-13 14:40:31 -0500 | [diff] [blame] | 36 | The current revision was built against cmake-3.10.0.tar.gz. |
David Benjamin | a93bc11 | 2017-06-29 15:26:05 -0400 | [diff] [blame] | 37 | |
David Benjamin | 8169df2 | 2016-03-09 18:05:12 -0500 | [diff] [blame] | 38 | cmake-win32.zip: Update to the latest prebuilt release of CMake, found at |
| 39 | https://cmake.org/download/. Use the file labeled "Windows ZIP". The |
| 40 | download will be named cmake-VERSION-win32-x86.zip. |
| 41 | |
David Benjamin | e2b8466 | 2017-12-20 14:00:32 -0500 | [diff] [blame] | 42 | The current revision is cmake-3.10.1-win32-x86.zip. |
David Benjamin | a93bc11 | 2017-06-29 15:26:05 -0400 | [diff] [blame] | 43 | |
David Benjamin | eaf0a17 | 2018-06-22 17:36:15 -0400 | [diff] [blame^] | 44 | nasm-win32.exe: Update to the appropriate release of NASM, found at |
| 45 | https://www.nasm.us/. Use the same version as Chromium, found at |
| 46 | https://chromium.googlesource.com/chromium/src/+/master/third_party/nasm/README.chromium |
| 47 | Extract nasm.exe from the download named nasm-VERSION-win32.zip. |
| 48 | |
| 49 | The current revision is nasm-2.13.03-win32.zip. |
| 50 | |
| 51 | TODO(davidben): The Chromium link currently does not work. It will get |
| 52 | filled in in the future. See https://crbug.com/766721. |
| 53 | |
David Benjamin | 24f5b18 | 2017-10-12 14:22:54 -0400 | [diff] [blame] | 54 | perl-win32.zip: Update to the latest 32-bit prebuilt "Portable" edition of |
David Benjamin | 8169df2 | 2016-03-09 18:05:12 -0500 | [diff] [blame] | 55 | Strawberry Perl, found at http://strawberryperl.com/releases.html. The |
| 56 | download will be named strawberry-perl-VERSION-32bit-portable.zip. |
| 57 | |
David Benjamin | 24f5b18 | 2017-10-12 14:22:54 -0400 | [diff] [blame] | 58 | The current revision is strawberry-perl-5.26.1.1-32bit-portable.zip. |
David Benjamin | a93bc11 | 2017-06-29 15:26:05 -0400 | [diff] [blame] | 59 | |
David Benjamin | 8169df2 | 2016-03-09 18:05:12 -0500 | [diff] [blame] | 60 | yasm-win32.exe: Update to the appropriate release of Yasm. Use the same version |
| 61 | as Chromium, found at |
| 62 | https://chromium.googlesource.com/chromium/src/+/master/third_party/yasm/README.chromium |
| 63 | Use the release at http://yasm.tortall.net/Download.html labeled |
| 64 | "Win32 .exe". The download will be named yasm-VERSION-win32.exe. |
David Benjamin | 97ca762 | 2017-06-29 15:10:59 -0400 | [diff] [blame] | 65 | |
David Benjamin | e1bfd16 | 2017-08-10 23:31:28 -0400 | [diff] [blame] | 66 | The current revision is yasm-1.3.0-win32.exe. |
David Benjamin | a93bc11 | 2017-06-29 15:26:05 -0400 | [diff] [blame] | 67 | |
David Benjamin | 97ca762 | 2017-06-29 15:10:59 -0400 | [diff] [blame] | 68 | Finally, update sde-linux64.tar.bz2 by downloading the latet release from intel |
| 69 | at |
| 70 | https://software.intel.com/en-us/articles/intel-software-development-emulator, |
| 71 | but upload it with the following command. (Note the bucket is different.) |
| 72 | |
| 73 | upload_to_google_storage.py -b chrome-boringssl-sde sde-linux64.tar.bz2 |
David Benjamin | a93bc11 | 2017-06-29 15:26:05 -0400 | [diff] [blame] | 74 | |
David Benjamin | 40729e3 | 2018-03-30 13:58:48 -0400 | [diff] [blame] | 75 | The current revision is sde-external-8.9.0-2017-08-06-lin.tar.bz2. |