Document bot dependency update and local test details Convert util/bot/UPDATING to Markdown (UPDATING.md) and document in it and util/bot/DEPS inline comments how to sync optional checkout_* dependencies locally, test Rust and custom libc++ updates against the synced toolchains, keep go.mod in sync with go_version, and update the recorded NASM/SDE versions in UPDATING.md. Change-Id: If57a2c4d6b0dd17411e870c2d8f2f38b6a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/106269 Commit-Queue: David Benjamin <davidben@google.com> Auto-Submit: Lily Chen <chlily@google.com> Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/util/bot/DEPS b/util/bot/DEPS index 196af33..c201370 100644 --- a/util/bot/DEPS +++ b/util/bot/DEPS
@@ -38,6 +38,8 @@ # infra/3pp/tools/cmake/linux-amd64 'cmake_version': 'version:3@3.31.11.chromium.8', # infra/3pp/tools/go/linux-amd64 + # Keep this in sync with the go directive in go.mod, and run `go mod tidy` + # after updating. 'go_version': 'version:3@1.27.0', # infra/3pp/tools/perl/windows-amd64 'perl_version': 'version:3@5.42.0.1', @@ -63,6 +65,10 @@ # https://chromium.googlesource.com/chromium/src/+/main/DEPS 'android_sdk_platform-tools_version': 'qTD9QdBlBf3dyHsN1lJ0RH6AhHxR42Hmg2Ih-Vj4zIEC', 'libfuzzer_revision': 'bea408a6e01f0f7e6c82a43121fe3af4506c932e', + # Updating libc++ may require updating util/bot/libcxx-config/__config_site + # and the USE_CUSTOM_LIBCXX block in CMakeLists.txt. Test locally with + # checkout_libcxx=True, -DUSE_CUSTOM_LIBCXX=1 (e.g. with -DMSAN=1 or + # -DASAN=1), and the clang binary in util/bot/llvm-build/bin. 'libcxx_revision': '7ab65651aed6802d2599dcb7a73b1f82d5179d05', 'libcxxabi_revision': '8f11bb1d4438d0239d0dfc1bd9456a9f31629dda', 'llvm_libc_revision': '2a826f2fda3cf8d75b47cbc3bb1d9b244f13a6ab', @@ -75,6 +81,13 @@ # Update to the latest revision of # https://chromium.googlesource.com/chromium/src/tools/rust # and also ensure that `tools_clang_revision` above is up-to-date. + # Updating Rust or bindgen may require adjustments in rust/. Test locally with + # checkout_rust=True, configuring CMake with -DRUST_BINDINGS=<triple> (see + # rust/bssl-sys/README.md) and + # -DBINDGEN_EXECUTABLE=$PWD/util/bot/rust-toolchain/bin/bindgen, then in rust/ + # running ../util/bot/rust-toolchain/bin/cargo test --all-targets + # --all-features (with RUSTC, RUSTDOC, and BORINGSSL_BUILD_DIR set + # accordingly). 'tools_rust_revision': '285104ac97c055afdc632b9c02af223ef738ad87', }
diff --git a/util/bot/UPDATING b/util/bot/UPDATING deleted file mode 100644 index 2bb00d3..0000000 --- a/util/bot/UPDATING +++ /dev/null
@@ -1,34 +0,0 @@ -This directory consumes tools from other repositories for use on the -bots. For a similarly-configured local checkout for testing, run: - - mkdir boringssl-gclient - cd boringssl-gclient - gclient config --unmanaged --deps-file=util/bot/DEPS https://boringssl.googlesource.com/boringssl/ - gclient sync - -To update to newer revisions, follow these instructions: - -DEPS: Update the variables as described in the comments. - -The .sha1 files correspond to files downloaded from Google Cloud Storage. To -update, place the updated files in their intended location and run: - - upload_to_google_storage.py -b chromium-tools FILE - -nasm-win32.exe: Update to the appropriate release of NASM, found at - https://www.nasm.us/. Use the same version as Chromium, found at - https://chromium.googlesource.com/chromium/deps/nasm/+/refs/heads/main/README.chromium - Extract nasm.exe from the download named nasm-VERSION-win64.zip. - - The current revision is nasm-3.01-win64.zip. - -Finally, update sde-linux64.tar.xz and sde-win32.tar.xz by downloading the -latest release from Intel at -https://software.intel.com/en-us/articles/intel-software-development-emulator, -but upload it with the following command. (Note the bucket is different.) - - upload_to_google_storage.py -b chrome-boringssl-sde sde-linux64.tar.xz sde-win32.tar.xz - -The current revision is sde-external-10.13.1-2026-07-28-*.tar.xz. - -When adding new files, remember to update .gitignore.
diff --git a/util/bot/UPDATING.md b/util/bot/UPDATING.md new file mode 100644 index 0000000..f0eec3a --- /dev/null +++ b/util/bot/UPDATING.md
@@ -0,0 +1,49 @@ +# Updating Bot Dependencies + +This directory consumes tools from other repositories for use on CI/CQ bots. + +## Local Testing + +For a similarly-configured local checkout for testing, run: + +```sh +mkdir boringssl-gclient +cd boringssl-gclient +gclient config --unmanaged --deps-file=util/bot/DEPS https://boringssl.googlesource.com/boringssl/ +gclient sync +``` + +Optional `checkout_*` variables in [DEPS](./DEPS) can be enabled via `gclient` +[`custom_vars`](https://www.chromium.org/developers/how-tos/depottools/#gclient-file). + +## Updating Revisions + +* **[DEPS](./DEPS)**: Update the variables as described in the inline comments. + +* **`.sha1` files**: These correspond to files downloaded from Google Cloud + Storage. To update, place the updated files in their intended location, update + the current revision noted below in this file, and run: + + ```sh + upload_to_google_storage.py -b chromium-tools FILE + ``` + + * **`nasm-win32.exe`**: Update to the appropriate release of NASM, found at + https://www.nasm.us/. Use the same version as Chromium, found in Chromium's + [README.chromium](https://chromium.googlesource.com/chromium/deps/nasm/+/refs/heads/main/README.chromium). + Extract `nasm.exe` from the download named `nasm-VERSION-win64.zip`. + + The current revision is **`nasm-3.01-win64.zip`**. + + * **`sde-linux64.tar.xz` and `sde-win32.tar.xz`**: Download the latest release + from Intel at + https://software.intel.com/en-us/articles/intel-software-development-emulator, + and upload it with the following command (note the bucket is different): + + ```sh + upload_to_google_storage.py -b chrome-boringssl-sde sde-linux64.tar.xz sde-win32.tar.xz + ``` + + The current revision is **`sde-external-10.13.1-2026-07-28-*.tar.xz`**. + +When adding new files, remember to update [.gitignore](../../.gitignore).