2016-03-09 22:46:47 +00:00
|
|
|
This directory consumes tools from other repositories for use on the
|
2018-08-09 19:40:34 +01:00
|
|
|
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:
|
2016-03-09 22:46:47 +00:00
|
|
|
|
2016-05-19 05:33:41 +01:00
|
|
|
DEPS: Set all revisions to those used in Chromium, found at
|
|
|
|
https://chromium.googlesource.com/chromium/src/+/master/DEPS (Search for the
|
|
|
|
corresponding repository name.)
|
2016-03-09 22:46:47 +00:00
|
|
|
|
|
|
|
go/bootstrap.py: Set TOOLSET_VERSION to the latest release of Go, found at
|
|
|
|
https://golang.org/dl/.
|
|
|
|
|
|
|
|
update_clang.py: Set CLANG_REVISION and CLANG_SUB_REVISION to the values used in
|
|
|
|
Chromium, found at
|
|
|
|
https://chromium.googlesource.com/chromium/src/+/master/tools/clang/scripts/update.py
|
|
|
|
|
2017-10-05 18:40:33 +01:00
|
|
|
vs_toolchain.py: Update _GetDesiredVsToolchainHashes from Chromium, found at
|
2016-03-09 22:46:47 +00:00
|
|
|
https://chromium.googlesource.com/chromium/src/+/master/build/vs_toolchain.py
|
2017-10-05 18:40:33 +01:00
|
|
|
This may require taking other updates to that file. (Don't remove MSVC
|
|
|
|
versions if BoringSSL still needs to support them.)
|
2016-03-09 22:46:47 +00:00
|
|
|
|
2016-03-09 23:05:12 +00:00
|
|
|
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
|
|
|
|
|
2016-03-09 23:40:04 +00:00
|
|
|
cmake-linux64.tar.gz: Download the latest CMake source tarball, found at
|
|
|
|
https://cmake.org/download/. Build it with:
|
|
|
|
|
|
|
|
./bootstrap --prefix=$PWD/cmake-linux64 && make && make install
|
|
|
|
tar -czf cmake-linux64.tar.gz cmake-linux64/
|
|
|
|
|
2017-12-13 19:40:31 +00:00
|
|
|
The current revision was built against cmake-3.10.0.tar.gz.
|
2017-06-29 20:26:05 +01:00
|
|
|
|
2016-03-09 23:40:04 +00:00
|
|
|
cmake-mac.tar.gz: Follow the same instructions as above on a Mac, but replace
|
|
|
|
cmake-linux64 with cmake-mac.
|
|
|
|
|
2017-12-13 19:40:31 +00:00
|
|
|
The current revision was built against cmake-3.10.0.tar.gz.
|
2017-06-29 20:26:05 +01:00
|
|
|
|
2016-03-09 23:05:12 +00:00
|
|
|
cmake-win32.zip: Update to the latest prebuilt release of CMake, found at
|
2018-06-26 22:08:56 +01:00
|
|
|
https://cmake.org/download/. Use the file labeled "Windows win64-x64
|
|
|
|
ZIP". The download will be named cmake-VERSION-win64-x64.zip.
|
2016-03-09 23:05:12 +00:00
|
|
|
|
2018-06-26 22:08:56 +01:00
|
|
|
The current revision is cmake-3.11.4-win64-x64.zip
|
2017-06-29 20:26:05 +01:00
|
|
|
|
2018-06-22 22:36:15 +01:00
|
|
|
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/src/+/master/third_party/nasm/README.chromium
|
2018-06-26 22:08:56 +01:00
|
|
|
Extract nasm.exe from the download named nasm-VERSION-win64.zip.
|
2018-06-22 22:36:15 +01:00
|
|
|
|
2018-06-26 22:08:56 +01:00
|
|
|
The current revision is nasm-2.13.03-win64.zip.
|
2018-06-22 22:36:15 +01:00
|
|
|
|
|
|
|
TODO(davidben): The Chromium link currently does not work. It will get
|
|
|
|
filled in in the future. See https://crbug.com/766721.
|
|
|
|
|
2018-06-26 22:08:56 +01:00
|
|
|
perl-win32.zip: Update to the latest 64-bit prebuilt "Portable" edition of
|
2016-03-09 23:05:12 +00:00
|
|
|
Strawberry Perl, found at http://strawberryperl.com/releases.html. The
|
2018-06-26 22:08:56 +01:00
|
|
|
download will be named strawberry-perl-VERSION-64bit-portable.zip.
|
2016-03-09 23:05:12 +00:00
|
|
|
|
2018-06-26 22:08:56 +01:00
|
|
|
The current revision is strawberry-perl-5.26.2.1-64bit-portable.zip.
|
2017-06-29 20:26:05 +01:00
|
|
|
|
2016-03-09 23:05:12 +00:00
|
|
|
yasm-win32.exe: Update to the appropriate release of Yasm. Use the same version
|
|
|
|
as Chromium, found at
|
|
|
|
https://chromium.googlesource.com/chromium/src/+/master/third_party/yasm/README.chromium
|
|
|
|
Use the release at http://yasm.tortall.net/Download.html labeled
|
|
|
|
"Win32 .exe". The download will be named yasm-VERSION-win32.exe.
|
2017-06-29 20:10:59 +01:00
|
|
|
|
2017-08-11 04:31:28 +01:00
|
|
|
The current revision is yasm-1.3.0-win32.exe.
|
2017-06-29 20:26:05 +01:00
|
|
|
|
2019-01-03 20:42:36 +00:00
|
|
|
Finally, update sde-linux64.tar.bz2 and sde-win32.tar.bz2 by downloading the
|
|
|
|
latet release from Intel at
|
2017-06-29 20:10:59 +01:00
|
|
|
https://software.intel.com/en-us/articles/intel-software-development-emulator,
|
|
|
|
but upload it with the following command. (Note the bucket is different.)
|
|
|
|
|
2019-01-03 20:42:36 +00:00
|
|
|
upload_to_google_storage.py -b chrome-boringssl-sde sde-linux64.tar.bz2 sde-win32.tar.bz2
|
2017-06-29 20:26:05 +01:00
|
|
|
|
2019-01-03 20:42:36 +00:00
|
|
|
The current revision is sde-external-8.16.0-2018-01-30-*.tar.bz2.
|
2018-06-26 22:08:56 +01:00
|
|
|
|
|
|
|
When adding new files, remember to update .gitignore.
|