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

Issue 1886293002: [build] Port options to support win-clang (Closed)

Created:
4 years, 8 months ago by Michael Achenbach
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[build] Port options to support win-clang BUG=chromium:603011 LOG=n NOTRY=true Committed: https://crrev.com/a1fa6d0be514ea3dbeac04de8652e3a13e671418 Cr-Commit-Position: refs/heads/master@{#35495}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M build/standalone.gypi View 1 chunk +25 lines, -0 lines 3 comments Download

Messages

Total messages: 22 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886293002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886293002/1
4 years, 8 months ago (2016-04-14 13:11:43 UTC) #2
Michael Achenbach
PTAL. C/p from common.gypi
4 years, 8 months ago (2016-04-14 13:14:29 UTC) #5
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-14 13:22:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886293002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886293002/1
4 years, 8 months ago (2016-04-14 13:28:03 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-14 13:30:52 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/a1fa6d0be514ea3dbeac04de8652e3a13e671418 Cr-Commit-Position: refs/heads/master@{#35495}
4 years, 8 months ago (2016-04-14 13:32:35 UTC) #14
Nico
https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi File build/standalone.gypi (right): https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi#newcode969 build/standalone.gypi:969: '-fmsc-version=1900', 1900 means msvc2015. If you're still on 2013, ...
4 years, 8 months ago (2016-04-14 13:54:12 UTC) #15
Michael Achenbach
https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi File build/standalone.gypi (right): https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi#newcode969 build/standalone.gypi:969: '-fmsc-version=1900', On 2016/04/14 13:54:12, Nico wrote: > 1900 means ...
4 years, 8 months ago (2016-04-14 14:03:42 UTC) #16
Michael Achenbach
@Nico: Any hint for this one? https://build.chromium.org/p/client.v8/builders/V8%20Win64%20-%20clang/builds/24/steps/compile/logs/stdio
4 years, 8 months ago (2016-04-14 14:04:10 UTC) #17
Nico
For `error: argument unused during compilation: '/GS'`, you have two options: 1. Add -Qunused-arguments 2. ...
4 years, 8 months ago (2016-04-14 14:46:29 UTC) #18
Nico
https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi File build/standalone.gypi (right): https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi#newcode969 build/standalone.gypi:969: '-fmsc-version=1900', On 2016/04/14 14:03:42, Michael Achenbach wrote: > On ...
4 years, 8 months ago (2016-04-14 14:48:07 UTC) #19
Michael Achenbach
On 2016/04/14 14:48:07, Nico wrote: > https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi > File build/standalone.gypi (right): > > https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi#newcode969 > ...
4 years, 8 months ago (2016-04-14 15:05:10 UTC) #20
Nico
On 2016/04/14 15:05:10, Michael Achenbach wrote: > On 2016/04/14 14:48:07, Nico wrote: > > https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi ...
4 years, 8 months ago (2016-04-14 15:17:58 UTC) #21
Michael Achenbach
4 years, 8 months ago (2016-04-15 08:16:56 UTC) #22
Message was sent while issue was closed.
On 2016/04/14 15:17:58, Nico (hiding Wed-Thu) wrote:
> On 2016/04/14 15:05:10, Michael Achenbach wrote:
> > On 2016/04/14 14:48:07, Nico wrote:
> > > https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi
> > > File build/standalone.gypi (right):
> > > 
> > >
> >
>
https://codereview.chromium.org/1886293002/diff/1/build/standalone.gypi#newco...
> > > build/standalone.gypi:969: '-fmsc-version=1900',
> > > On 2016/04/14 14:03:42, Michael Achenbach wrote:
> > > > On 2016/04/14 13:54:12, Nico wrote:
> > > > > 1900 means msvc2015. If you're still on 2013, you might want 1800 here
> > > > 
> > > > Yea - but no point in supporting also 2013 with clang as we never
> supported
> > > > win-clang...
> > > 
> > > In general, I feel you'll have fewest problems if the version here matches
> the
> > > versions of the MSVC headers you're using. If you're using the 2015
headers,
> > > this _must_ be 1900 since clang-cl in 2013 mode can't parse the 2015
> headers.
> > If
> > > you're using clang-cl in 2015 mode with the 2013 headers, then that might
> > work,
> > > but you're using a configuration that as far as I know nobody else uses.
> > 
> > Thanks, will try. Note that before the msvs2015 switch attempt, we failed
> > already in runhooks:
> >
>
https://build.chromium.org/p/client.v8/builders/V8%20Win64%20-%20clang/builds...
> > 
> > So there's something else wrong to support msvs2013 and clang.
> 
> Heh, I broke that 2 days ago: https://codereview.chromium.org/1879753002/ It
> didn't occur to me that people will use older MSVCs still. It's easy to fix,
> just copy msdia120.dll instead of msdia140.dll with 2013, or just don't copy
> msdia140.dll if it doesn't exist (it's currently only needed for running llvm
> tests; eventually it'll be used for symbolizing asan stacks too). So if you
> think you'll stay for 2013 a bit longer, you can make that work.

This requires a chromium-side fix as we deps in the update.py script. Trying
here:
https://codereview.chromium.org/1888883004/

Powered by Google App Engine
This is Rietveld 408576698