boringssl/util/bot/UPDATING
David Benjamin 26f8297177 Switch to 64-bit tools on Windows.
It's 2018. I'm not sure why I added the 32-bit ones; even the 32-bit
bots build and run on 64-bit Windows. ninja.exe in depot_tools is also a
64-bit binary. I suspect this is because some of the depot_tools bits
use --platform=win32, but that's just the sys.platform string.

Alas, I stupidly named these "win32" way back. Dealing with the rename
is probably more trouble than worth it right now since the build recipes
refer to the name. Something to deal with later. (Regardless we'll want
"win32" to point to 64-bit binaries so that try jobs can test it.)

Also add the missing nasm-win32.exe to .gitignore.

For some reason the 64-bit Yasm binary does not work on the vs2017 CQ
bots, so I've left it alone. Hopefully it should be replaced by NASM
later anyway.

Change-Id: If65ececddbc6526ceebaafbef56eddea8ece58ba
Reviewed-on: https://boringssl-review.googlesource.com/29384
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-06-29 18:05:31 +00:00

78 lines
3.4 KiB
Plaintext

This directory consumes tools from other repositories for use on the
bots. To update to newer revisions, follow these instructions:
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.)
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
vs_toolchain.py: Update _GetDesiredVsToolchainHashes from Chromium, found at
https://chromium.googlesource.com/chromium/src/+/master/build/vs_toolchain.py
This may require taking other updates to that file. (Don't remove MSVC
versions if BoringSSL still needs to support them.)
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
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/
The current revision was built against cmake-3.10.0.tar.gz.
cmake-mac.tar.gz: Follow the same instructions as above on a Mac, but replace
cmake-linux64 with cmake-mac.
The current revision was built against cmake-3.10.0.tar.gz.
cmake-win32.zip: Update to the latest prebuilt release of CMake, found at
https://cmake.org/download/. Use the file labeled "Windows win64-x64
ZIP". The download will be named cmake-VERSION-win64-x64.zip.
The current revision is cmake-3.11.4-win64-x64.zip
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
Extract nasm.exe from the download named nasm-VERSION-win64.zip.
The current revision is nasm-2.13.03-win64.zip.
TODO(davidben): The Chromium link currently does not work. It will get
filled in in the future. See https://crbug.com/766721.
perl-win32.zip: Update to the latest 64-bit prebuilt "Portable" edition of
Strawberry Perl, found at http://strawberryperl.com/releases.html. The
download will be named strawberry-perl-VERSION-64bit-portable.zip.
The current revision is strawberry-perl-5.26.2.1-64bit-portable.zip.
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.
The current revision is yasm-1.3.0-win32.exe.
Finally, update sde-linux64.tar.bz2 by downloading the latet 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.bz2
The current revision is sde-external-8.9.0-2017-08-06-lin.tar.bz2.
When adding new files, remember to update .gitignore.