Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Issue 70493006: Auto-updating script for Windows toolchain (Closed)

Created:
7 years, 1 month ago by scottmg
Modified:
7 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Auto-updating script for Windows toolchain Updates third_party/win_toolchain to pull down a toolchain based on SHA1. The intention is that this will be a DEPS hook once it's ready for more broad usage and the rest of infrastructure is ready. R=maruel@chromium.org TBR=cpu@chromium.org BUG=323300 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237369

Patch Set 1 : . #

Patch Set 2 : more noise in download to keep runhooks happy #

Patch Set 3 : nicer output #

Total comments: 15

Patch Set 4 : fixes #

Patch Set 5 : remove --local debugging #

Total comments: 8

Patch Set 6 : fixes #

Total comments: 10

Patch Set 7 : . #

Total comments: 6

Patch Set 8 : . #

Patch Set 9 : remove DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -2 lines) Patch
M .gitignore View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A third_party/win_toolchain/toolchain.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tools/win/toolchain/get_toolchain_if_necessary.py View 1 2 3 4 5 6 7 1 chunk +75 lines, -0 lines 0 comments Download
M tools/win/toolchain/toolchain.py View 1 2 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
M-A Ruel
https://codereview.chromium.org/70493006/diff/70001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/70493006/diff/70001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode12 tools/win/toolchain/get_toolchain_if_necessary.py:12: rc = subprocess.call(command, shell=True) that's called subprocess.check_call() https://codereview.chromium.org/70493006/diff/70001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode23 tools/win/toolchain/get_toolchain_if_necessary.py:23: ...
7 years ago (2013-11-26 02:07:43 UTC) #1
scottmg
https://codereview.chromium.org/70493006/diff/70001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/70493006/diff/70001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode12 tools/win/toolchain/get_toolchain_if_necessary.py:12: rc = subprocess.call(command, shell=True) On 2013/11/26 02:07:43, M-A Ruel ...
7 years ago (2013-11-26 05:07:19 UTC) #2
M-A Ruel
https://codereview.chromium.org/70493006/diff/110001/DEPS File DEPS (right): https://codereview.chromium.org/70493006/diff/110001/DEPS#newcode647 DEPS:647: "pattern": "\\.sha1$", third_party/win_toolchain/toolchain\\.sha1 https://codereview.chromium.org/70493006/diff/110001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/70493006/diff/110001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode19 tools/win/toolchain/get_toolchain_if_necessary.py:19: ...
7 years ago (2013-11-26 16:09:50 UTC) #3
scottmg
Thanks https://codereview.chromium.org/70493006/diff/110001/DEPS File DEPS (right): https://codereview.chromium.org/70493006/diff/110001/DEPS#newcode647 DEPS:647: "pattern": "\\.sha1$", On 2013/11/26 16:09:50, M-A Ruel wrote: ...
7 years ago (2013-11-26 17:41:29 UTC) #4
M-A Ruel
https://codereview.chromium.org/70493006/diff/130001/third_party/win_toolchain/.gitignore File third_party/win_toolchain/.gitignore (right): https://codereview.chromium.org/70493006/diff/130001/third_party/win_toolchain/.gitignore#newcode1 third_party/win_toolchain/.gitignore:1: files/ It should be in the .gitignore two directories ...
7 years ago (2013-11-26 17:48:18 UTC) #5
scottmg
https://codereview.chromium.org/70493006/diff/130001/third_party/win_toolchain/.gitignore File third_party/win_toolchain/.gitignore (right): https://codereview.chromium.org/70493006/diff/130001/third_party/win_toolchain/.gitignore#newcode1 third_party/win_toolchain/.gitignore:1: files/ On 2013/11/26 17:48:18, M-A Ruel wrote: > It ...
7 years ago (2013-11-26 17:57:54 UTC) #6
M-A Ruel
https://codereview.chromium.org/70493006/diff/130001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/70493006/diff/130001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode11 tools/win/toolchain/get_toolchain_if_necessary.py:11: BASEDIR = os.path.abspath(os.path.dirname(__file__)) On 2013/11/26 17:57:54, scottmg wrote: > ...
7 years ago (2013-11-26 18:03:39 UTC) #7
scottmg
Running a timing on HDD now. https://codereview.chromium.org/70493006/diff/150001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/70493006/diff/150001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode16 tools/win/toolchain/get_toolchain_if_necessary.py:16: contents of those ...
7 years ago (2013-11-26 18:17:13 UTC) #8
M-A Ruel
Code now formally lgtm, e.g. I expect it to be idempotent. I'm still concerned about ...
7 years ago (2013-11-26 18:23:47 UTC) #9
scottmg
On 2013/11/26 18:23:47, M-A Ruel wrote: > Code now formally lgtm, e.g. I expect it ...
7 years ago (2013-11-26 18:30:58 UTC) #10
M-A Ruel
On 2013/11/26 18:30:58, scottmg wrote: > On 2013/11/26 18:23:47, M-A Ruel wrote: > > Code ...
7 years ago (2013-11-26 18:32:51 UTC) #11
scottmg
On 2013/11/26 18:32:51, M-A Ruel wrote: > On 2013/11/26 18:30:58, scottmg wrote: > > On ...
7 years ago (2013-11-26 18:49:43 UTC) #12
scottmg
TBR cpu for .sha1 file added in third_party/win_toolchain.
7 years ago (2013-11-26 18:50:27 UTC) #13
scottmg
7 years ago (2013-11-26 18:56:07 UTC) #14
Message was sent while issue was closed.
Committed patchset #9 manually as r237369 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698