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

Issue 1757733004: clang upload.sh: don't download Clang binaries from clang_upload bots. (Closed)

Created:
4 years, 9 months ago by krasin
Modified:
4 years, 9 months ago
Reviewers:
hans, Nico, krasin1
CC:
chromium-reviews, yunlian, eugenis+clang_chromium.org, glider+clang_chromium.org, dmikurube+clang_chromium.org, ukai+watch_chromium.org, kcc2, pcc1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

clang upload.sh: don't download Clang binaries from clang_upload bots. Clang Upload trybots are used to build the new Clang binaries. Right now, they fail, because they try to download the not-yet-built clang revision during runhooks. In this CL a check into update.py is added to skip the download if it's running from Clang Upload trybot. LLVM_FORCE_LOCAL_BUILD env var is used for that. BUG=578306 Committed: https://crrev.com/9321234d5ec76fadeacefd38591b93420dc62b67 Cr-Commit-Position: refs/heads/master@{#379989}

Patch Set 1 #

Patch Set 2 : use env #

Total comments: 1

Patch Set 3 : LLVM_FORCE_LOCAL_BUILD #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M tools/clang/scripts/update.py View 1 2 1 chunk +5 lines, -0 lines 2 comments Download

Messages

Total messages: 33 (8 generated)
krasin1
Nico, Hans, please, review this fix for Clang Upload bots. That fixed the Linux trybot, ...
4 years, 9 months ago (2016-03-02 21:35:32 UTC) #4
hans
> In this CL a check into update.py is added to skip the > download ...
4 years, 9 months ago (2016-03-02 21:41:42 UTC) #5
krasin1
On 2016/03/02 21:41:42, hans wrote: > > In this CL a check into update.py is ...
4 years, 9 months ago (2016-03-02 21:44:13 UTC) #6
hans
On 2016/03/02 21:44:13, krasin1 wrote: > Relying on an env var was my first call, ...
4 years, 9 months ago (2016-03-02 21:48:12 UTC) #7
krasin1
On 2016/03/02 21:48:12, hans wrote: > On 2016/03/02 21:44:13, krasin1 wrote: > > Relying on ...
4 years, 9 months ago (2016-03-02 21:50:35 UTC) #8
hans
On 2016/03/02 21:50:35, krasin1 wrote: > On 2016/03/02 21:48:12, hans wrote: > > On 2016/03/02 ...
4 years, 9 months ago (2016-03-02 22:04:46 UTC) #9
Nico
do we need any of the hooks on the upload bots? can we change the ...
4 years, 9 months ago (2016-03-02 22:16:11 UTC) #10
hans
On 2016/03/02 22:16:11, Nico wrote: > do we need any of the hooks on the ...
4 years, 9 months ago (2016-03-02 22:18:15 UTC) #11
krasin1
It seems that nobody has a better idea than using GYP + env var, so ...
4 years, 9 months ago (2016-03-04 19:42:27 UTC) #13
hans
https://codereview.chromium.org/1757733004/diff/20001/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/1757733004/diff/20001/tools/clang/scripts/update.py#newcode728 tools/clang/scripts/update.py:728: 'LLVM_DOWNLOAD_NOT_NEEDED is found in the environment') can we call ...
4 years, 9 months ago (2016-03-04 19:52:28 UTC) #14
krasin1
On 2016/03/04 19:52:28, hans wrote: > https://codereview.chromium.org/1757733004/diff/20001/tools/clang/scripts/update.py > File tools/clang/scripts/update.py (right): > > https://codereview.chromium.org/1757733004/diff/20001/tools/clang/scripts/update.py#newcode728 > ...
4 years, 9 months ago (2016-03-04 21:07:20 UTC) #15
krasin1
The build/ part of the change is published: https://codereview.chromium.org/1766073002/ Please, review both.
4 years, 9 months ago (2016-03-04 21:48:23 UTC) #17
Nico
https://codereview.chromium.org/1757733004/diff/40001/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/1757733004/diff/40001/tools/clang/scripts/update.py#newcode728 tools/clang/scripts/update.py:728: 'LLVM_FORCE_LOCAL_BUILD is found in the environment') doesn't this mean ...
4 years, 9 months ago (2016-03-05 00:11:12 UTC) #18
krasin1
https://codereview.chromium.org/1757733004/diff/40001/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/1757733004/diff/40001/tools/clang/scripts/update.py#newcode728 tools/clang/scripts/update.py:728: 'LLVM_FORCE_LOCAL_BUILD is found in the environment') On 2016/03/05 00:11:12, ...
4 years, 9 months ago (2016-03-05 04:43:00 UTC) #19
krasin1
Hans, Nico, are there any more objections to the CL?
4 years, 9 months ago (2016-03-07 18:36:25 UTC) #20
krasin1
Friendly ping. Nico, please, take a look.
4 years, 9 months ago (2016-03-08 17:26:26 UTC) #21
Nico
Sorry, I'm a bit behind on reviews, as you can tell. I'm catching up, though, ...
4 years, 9 months ago (2016-03-08 21:14:54 UTC) #22
krasin1
On 2016/03/08 21:14:54, Nico wrote: > Sorry, I'm a bit behind on reviews, as you ...
4 years, 9 months ago (2016-03-08 22:52:22 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757733004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757733004/40001
4 years, 9 months ago (2016-03-08 22:53:31 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-09 00:25:40 UTC) #27
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9321234d5ec76fadeacefd38591b93420dc62b67 Cr-Commit-Position: refs/heads/master@{#379989}
4 years, 9 months ago (2016-03-09 00:27:59 UTC) #29
Nico
(this can be reverted now, right?)
4 years, 9 months ago (2016-03-09 05:00:32 UTC) #30
krasin1
On 2016/03/09 05:00:32, Nico wrote: > (this can be reverted now, right?) I plan to, ...
4 years, 9 months ago (2016-03-09 05:02:20 UTC) #31
krasin1
It seems to work. Reverting this one...
4 years, 9 months ago (2016-03-09 05:06:01 UTC) #32
krasin1
4 years, 9 months ago (2016-03-09 05:06:49 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1777793003/ by krasin@chromium.org.

The reason for reverting is: Not needed anymore.
https://codereview.chromium.org/1776893002/ was a better approach..

Powered by Google App Engine
This is Rietveld 408576698