|
|
Created:
6 years, 6 months ago by Timur Iskhodzhanov Modified:
6 years, 6 months ago CC:
chromium-reviews, Reid Kleckner Base URL:
https://chromium.googlesource.com/chromium/src.git@master Visibility:
Public. |
DescriptionPick a fixed Clang revision for Windows now that we have an LKGR ASan builder
This way, the LKGR builder and the developers who want to try ASan (or just Clang) on Windows won't get a broken Clang revision.
The FYI bots got LLVM_WIN_REVISION=HEAD in r276301 so won't be affected.
BUG=82385, 345874
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276366
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use os.environ.get(key, defaultval) rather than ugly if #Messages
Total messages: 22 (0 generated)
See https://codereview.chromium.org/326873002/ for the master.fyi part of the change
I still worry a little about moving to a fixed revision essentially just for the sake of one builder. But if we make up for it by updating the revision really frequently (maybe in some semi-automated way), I think it's OK. lgtm
https://codereview.chromium.org/320383004/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/320383004/diff/1/tools/clang/scripts/update.p... tools/clang/scripts/update.py:20: LLVM_WIN_REVISION = '210505' This can be: LLVM_WIN_REVISION = os.environ.get('LLVM_WIN_REVISION', '210505')
> But if we make up for it by updating the revision really > frequently (maybe in some semi-automated way), > I think it's OK. I think we should totally roll Clang/Win much more often than on other OSes. Personally I'm fine for roll of any Clang revision if the ASan/Win FYI bot is green enough on it. https://codereview.chromium.org/320383004/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (right): https://codereview.chromium.org/320383004/diff/1/tools/clang/scripts/update.p... tools/clang/scripts/update.py:20: LLVM_WIN_REVISION = '210505' Done, ditto for LLVM_REPO_URL below.
The CQ bit was checked by timurrrr@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timurrrr@chromium.org/320383004/20001
The CQ bit was unchecked by timurrrr@chromium.org
The CQ bit was checked by timurrrr@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timurrrr@chromium.org/320383004/20001
Message was sent while issue was closed.
Change committed as 276366
Message was sent while issue was closed.
as mentioned on the thread, not lgtm we should have only a single clang revision mentioned in update scripts. if you need some special case for win asan for now, put the special case somewhere that doesn't look like a general place
This isn't a general place, is it? To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
It is. I believe Nico and Hans want to kill update.sh in favor of update.py on all platforms. On Thu, Jun 12, 2014 at 1:01 PM, Timur Iskhodzhanov <timurrrr@chromium.org> wrote: > This isn't a general place, is it? > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
The variable is already named LLVM_WIN_REVISION, right? Using the same revision number as the "stable" OSes doesn't make sense to me until we declare Clang-for-Windows "production quality". The "beta" progress on Windows shouldn't be blocked by "release" requirements on other OSes. To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
On Thu, Jun 12, 2014 at 1:09 PM, Timur Iskhodzhanov <timurrrr@chromium.org> wrote: > The variable is already named LLVM_WIN_REVISION, right? > > Using the same revision number as the "stable" OSes doesn't make sense to > me until we declare Clang-for-Windows "production quality". The "beta" > progress on Windows shouldn't be blocked by "release" requirements on other > OSes. > I agree! And so does everyone else apparently, as all the bots have a "ignore this revision, just use HEAD" option set. From what I understand, you don't want to use head for win/asan as that's not stable enough for CF. So CF should do some pinning thing. (Or CF shouldn't use win/asan yet, given that we don't consider regular win/clang to be generally usable.) To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
There are not just "CF bot and everything else", right? We have a) FYI bots purposed to continuously try the latest Clang on Chromium tests so we can catch regressions and bugfixes early b) The Clang developers (us) who want to use the freshest Clang too c) LKGR bot that should use the reasonably-new-but-stable Clang revision to cook the fresh Chromium code for CF triage d) Early adopters who want to try reasonably-new-but-stable Clang revision locally to e.g. repro CF reports or whatnot Since (a) and (b) are probably the only two usecases that really need HEAD and (hopefully) we'll have more early adopters that (a) and (b) combined really soon, I think the default should be "reasonably-new-but-stable". Also, pinning a revision on the LKGR master sounds like something that'd require a master restart for each roll? To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
As mentioned on the lkgr review, I don't think this should be on lkgr yet. For (d), this is experimental and hasn't been widely announced, so using an unpinned version there is fine too. (Note: "win/asan specific" means having the revision in a "win_asan_revision" variable and defaulting to head unless some "USE_PINNED_WIN_ASAN_CLANG" thingy is set in which case you'd use that variable, so roughly just what you have now except with defaults reversed. I'm not asking for some huge change here.) On Thu, Jun 12, 2014 at 1:49 PM, Timur Iskhodzhanov <timurrrr@chromium.org> wrote: > There are not just "CF bot and everything else", right? > > We have > a) FYI bots purposed to continuously try the latest Clang on Chromium > tests so we can catch regressions and bugfixes early > b) The Clang developers (us) who want to use the freshest Clang too > c) LKGR bot that should use the reasonably-new-but-stable Clang revision > to cook the fresh Chromium code for CF triage > d) Early adopters who want to try reasonably-new-but-stable Clang revision > locally to e.g. repro CF reports or whatnot > > Since (a) and (b) are probably the only two usecases that really need HEAD > and (hopefully) we'll have more early adopters that (a) and (b) combined > really soon, I think the default should be "reasonably-new-but-stable". > > Also, pinning a revision on the LKGR master sounds like something that'd > require a master restart for each roll? > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
I'll revert this by eod. On Thu, Jun 12, 2014 at 2:05 PM, Nico Weber <thakis@chromium.org> wrote: > As mentioned on the lkgr review, I don't think this should be on lkgr yet. > For (d), this is experimental and hasn't been widely announced, so using an > unpinned version there is fine too. > > (Note: "win/asan specific" means having the revision in a > "win_asan_revision" variable and defaulting to head unless some > "USE_PINNED_WIN_ASAN_CLANG" thingy is set in which case you'd use that > variable, so roughly just what you have now except with defaults reversed. > I'm not asking for some huge change here.) > > > On Thu, Jun 12, 2014 at 1:49 PM, Timur Iskhodzhanov <timurrrr@chromium.org > > wrote: > >> There are not just "CF bot and everything else", right? >> >> We have >> a) FYI bots purposed to continuously try the latest Clang on Chromium >> tests so we can catch regressions and bugfixes early >> b) The Clang developers (us) who want to use the freshest Clang too >> c) LKGR bot that should use the reasonably-new-but-stable Clang revision >> to cook the fresh Chromium code for CF triage >> d) Early adopters who want to try reasonably-new-but-stable Clang >> revision locally to e.g. repro CF reports or whatnot >> >> Since (a) and (b) are probably the only two usecases that really need >> HEAD and (hopefully) we'll have more early adopters that (a) and (b) >> combined really soon, I think the default should be >> "reasonably-new-but-stable". >> >> Also, pinning a revision on the LKGR master sounds like something that'd >> require a master restart for each roll? >> > > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Reid, can you please work with Nico on a solution that works well for all the parties involved? I'm sorry I couldn't finish this as I got sick after we talked last time... To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
Message was sent while issue was closed.
A revert of this CL has been created in https://codereview.chromium.org/342533002/ by thakis@chromium.org. The reason for reverting is: This was landed despite an explicit "not lgtm".
I was also sick so I didn't do anything yesterday. I'm still digging myself out of email backlog. On Mon, Jun 16, 2014 at 8:33 AM, Timur Iskhodzhanov <timurrrr@chromium.org> wrote: > Reid, can you please work with Nico on a solution that works well for all > the parties involved? > I'm sorry I couldn't finish this as I got sick after we talked last time... > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org. |