| 1 |
This directory consumes tools from other repositories for use on the |
| 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: |
| 10 |
|
| 11 |
DEPS: Update the variables as described in the comments. |
| 12 |
|
| 13 |
update_clang.py: Set CLANG_REVISION and CLANG_SUB_REVISION to the values used in |
| 14 |
Chromium, found at |
| 15 |
https://chromium.googlesource.com/chromium/src/+/main/tools/clang/scripts/update.py |
| 16 |
|
| 17 |
vs_toolchain.py: Update _GetDesiredVsToolchainHashes from Chromium, found at |
| 18 |
https://chromium.googlesource.com/chromium/src/+/main/build/vs_toolchain.py |
| 19 |
This may require taking other updates to that file. (Don't remove MSVC |
| 20 |
versions if BoringSSL still needs to support them.) |
| 21 |
|
| 22 |
The .sha1 files correspond to files downloaded from Google Cloud Storage. To |
| 23 |
update, place the updated files in their intended location and run: |
| 24 |
|
| 25 |
upload_to_google_storage.py -b chromium-tools FILE |
| 26 |
|
| 27 |
nasm-win32.exe: Update to the appropriate release of NASM, found at |
| 28 |
https://www.nasm.us/. Use the same version as Chromium, found at |
| 29 |
https://chromium.googlesource.com/chromium/deps/nasm/+/refs/heads/main/README.chromium |
| 30 |
Extract nasm.exe from the download named nasm-VERSION-win64.zip. |
| 31 |
|
| 32 |
The current revision is nasm-2.13.03-win64.zip. |
| 33 |
|
| 34 |
Finally, update sde-linux64.tar.xz and sde-win32.tar.xz by downloading the |
| 35 |
latet release from Intel at |
| 36 |
https://software.intel.com/en-us/articles/intel-software-development-emulator, |
| 37 |
but upload it with the following command. (Note the bucket is different.) |
| 38 |
|
| 39 |
upload_to_google_storage.py -b chrome-boringssl-sde sde-linux64.tar.xz sde-win32.tar.xz |
| 40 |
|
| 41 |
The current revision is sde-external-9.14.0-2022-10-25-*.tar.xz. |
| 42 |
|
| 43 |
When adding new files, remember to update .gitignore. |