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

Issue 14333010: Use clang on mac if XCode >= 4.5 (Closed)

Created:
7 years, 8 months ago by kustermann
Modified:
7 years, 8 months ago
Reviewers:
ricow1, hausner, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use clang on mac if XCode >= 4.5 Committed: https://code.google.com/p/dart/source/detail?r=21950

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M tools/gyp/find_mac_gcc_version.py View 1 2 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kustermann
7 years, 8 months ago (2013-04-24 13:41:31 UTC) #1
ricow1
https://codereview.chromium.org/14333010/diff/1/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/1/tools/gyp/find_mac_gcc_version.py#newcode31 tools/gyp/find_mac_gcc_version.py:31: raise Exception('Unknown XCode Version "%s"' % version_match) you can't ...
7 years, 8 months ago (2013-04-24 13:48:09 UTC) #2
Ivan Posva
https://codereview.chromium.org/14333010/diff/1/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/1/tools/gyp/find_mac_gcc_version.py#newcode31 tools/gyp/find_mac_gcc_version.py:31: raise Exception('Unknown XCode Version "%s"' % version_match) Under what ...
7 years, 8 months ago (2013-04-24 13:48:33 UTC) #3
kustermann
https://codereview.chromium.org/14333010/diff/1/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/1/tools/gyp/find_mac_gcc_version.py#newcode31 tools/gyp/find_mac_gcc_version.py:31: raise Exception('Unknown XCode Version "%s"' % version_match) On 2013/04/24 ...
7 years, 8 months ago (2013-04-24 13:58:53 UTC) #4
Ivan Posva
LGTM, but you might want to check with somebody who has a Xcode 4.6 machine ...
7 years, 8 months ago (2013-04-24 14:00:42 UTC) #5
ricow1
LGTM with small suggestion https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py#newcode28 tools/gyp/find_mac_gcc_version.py:28: elif major == 4 and ...
7 years, 8 months ago (2013-04-24 14:01:47 UTC) #6
kustermann
I don't think I'll find somebody here with 4.6 (it has been released on 28th ...
7 years, 8 months ago (2013-04-24 14:10:06 UTC) #7
kustermann
I'll land it now. https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py#newcode28 tools/gyp/find_mac_gcc_version.py:28: elif major == 4 and ...
7 years, 8 months ago (2013-04-24 14:42:59 UTC) #8
kustermann
Committed patchset #3 manually as r21950 (presubmit successful).
7 years, 8 months ago (2013-04-24 14:43:45 UTC) #9
hausner
https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py#newcode28 tools/gyp/find_mac_gcc_version.py:28: elif major == 4 and minor == 5: I ...
7 years, 8 months ago (2013-04-24 20:33:20 UTC) #10
kustermann
https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py File tools/gyp/find_mac_gcc_version.py (right): https://codereview.chromium.org/14333010/diff/5001/tools/gyp/find_mac_gcc_version.py#newcode28 tools/gyp/find_mac_gcc_version.py:28: elif major == 4 and minor == 5: On ...
7 years, 8 months ago (2013-04-24 20:59:10 UTC) #11
hausner
7 years, 8 months ago (2013-04-24 21:02:34 UTC) #12
Message was sent while issue was closed.
> > Interestingly, I have 4.6 (4H127) on the desktop. It uses gcc (after your
> > change)! The V8 build passes on this machine.
> 
> This should not happen. I tried it on my macbook (with 4.6.1 [4H512]) and it
> failed because of the warning in v8/src/parser.cc.
> Could you check if it still uses gcc after doing
> - 'gclient runhooks' (-> generating project files with clang instead of gcc)
> - removing the build folder (-> no incremental build of v8)

I did both of those steps. Sync, runhooks, rm -rf xcodebuild. It still selects
gcc on my desktop. I even verified that find_mac_gcc_version.p executes the
expected else branch (major == 4 and minor >= 5) by inserting an exception. It
fired when I ran runhooks.

Powered by Google App Engine
This is Rietveld 408576698