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