aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2024-03-21 12:05:07 +1000
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-03-29 17:05:36 +0000
commit779d01dcdd0e0c933a890d6e7787ba81ae31f625 (patch)
tree2d64aa3f5f0f3345f2fa707800f1a924598e0533 /util
parent43cec435d3fea3734b649aa45275f8ab92a67b2b (diff)
downloadboringssl-779d01dcdd0e0c933a890d6e7787ba81ae31f625.zip
boringssl-779d01dcdd0e0c933a890d6e7787ba81ae31f625.tar.gz
boringssl-779d01dcdd0e0c933a890d6e7787ba81ae31f625.tar.bz2
Install the Windows toolchain under util/bot
Combined with https://crrev.com/c/5346536, this should, I believe, avoid needing to re-download the toolchains over and over on every CI run once the caches all fill. Change-Id: I4991cf61dd164d7d39da91184ba7051ac59ce3f1 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/67347 Auto-Submit: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Bob Beck <bbe@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/bot/vs_toolchain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/bot/vs_toolchain.py b/util/bot/vs_toolchain.py
index d287ee2..c6dc4a4 100644
--- a/util/bot/vs_toolchain.py
+++ b/util/bot/vs_toolchain.py
@@ -12,6 +12,7 @@ import sys
script_dir = os.path.dirname(os.path.realpath(__file__))
+toolchain_dir = os.path.join(script_dir, 'win_toolchain')
json_data_file = os.path.join(script_dir, 'win_toolchain.json')
@@ -91,6 +92,7 @@ def Update(version):
'win_toolchain',
'get_toolchain_if_necessary.py'),
'--output-json', json_data_file,
+ '--toolchain-dir', toolchain_dir,
] + _GetDesiredVsToolchainHashes(version)
subprocess.check_call(get_toolchain_args)
return 0