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

Issue 195283002: Add support for VCCLCompilerTool EnableEnhancedInstructionSet setting. (Closed)

Created:
6 years, 9 months ago by grt (UTC plus 2)
Modified:
6 years, 9 months ago
Reviewers:
scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Add support for VCCLCompilerTool EnableEnhancedInstructionSet setting. R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1865

Patch Set 1 #

Total comments: 4

Patch Set 2 : no formats #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -1 line) Patch
M pylib/gyp/MSVSSettings.py View 1 chunk +3 lines, -1 line 0 comments Download
M pylib/gyp/msvs_emulation.py View 1 chunk +2 lines, -0 lines 0 comments Download
A test/win/compiler-flags/enable-enhanced-instruction-set.cc View 1 chunk +26 lines, -0 lines 0 comments Download
A test/win/compiler-flags/enable-enhanced-instruction-set.gyp View 1 chunk +54 lines, -0 lines 0 comments Download
A test/win/gyptest-cl-enable-enhanced-instruction-set.py View 1 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
grt (UTC plus 2)
6 years, 9 months ago (2014-03-11 15:43:30 UTC) #1
scottmg
lgtm https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp File test/win/compiler-flags/enable-enhanced-instruction-set.gyp (right): https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp#newcode50 test/win/compiler-flags/enable-enhanced-instruction-set.gyp:50: }, Could you add an "unset" test too? ...
6 years, 9 months ago (2014-03-11 16:32:58 UTC) #2
grt (UTC plus 2)
https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp File test/win/compiler-flags/enable-enhanced-instruction-set.gyp (right): https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp#newcode50 test/win/compiler-flags/enable-enhanced-instruction-set.gyp:50: }, On 2014/03/11 16:32:58, scottmg wrote: > Could you ...
6 years, 9 months ago (2014-03-11 17:08:45 UTC) #3
scottmg
On 2014/03/11 17:08:45, grt wrote: > https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp > File test/win/compiler-flags/enable-enhanced-instruction-set.gyp (right): > > https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp#newcode50 > ...
6 years, 9 months ago (2014-03-11 17:15:19 UTC) #4
grt (UTC plus 2)
On 2014/03/11 17:15:19, scottmg wrote: > On 2014/03/11 17:08:45, grt wrote: > > > https://codereview.chromium.org/195283002/diff/1/test/win/compiler-flags/enable-enhanced-instruction-set.gyp ...
6 years, 9 months ago (2014-03-11 17:44:27 UTC) #5
scottmg
On 2014/03/11 17:44:27, grt wrote: > On 2014/03/11 17:15:19, scottmg wrote: > > On 2014/03/11 ...
6 years, 9 months ago (2014-03-11 17:52:49 UTC) #6
grt (UTC plus 2)
Thanks https://codereview.chromium.org/195283002/diff/1/test/win/gyptest-cl-enable-enhanced-instruction-set.py File test/win/gyptest-cl-enable-enhanced-instruction-set.py (right): https://codereview.chromium.org/195283002/diff/1/test/win/gyptest-cl-enable-enhanced-instruction-set.py#newcode17 test/win/gyptest-cl-enable-enhanced-instruction-set.py:17: test = TestGyp.TestGyp(formats=['msvs', 'ninja']) On 2014/03/11 16:32:58, scottmg ...
6 years, 9 months ago (2014-03-11 17:57:29 UTC) #7
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 9 months ago (2014-03-11 17:57:33 UTC) #8
scottmg
On 2014/03/11 17:57:33, grt wrote: > The CQ bit was checked by mailto:grt@chromium.org gyp doesn't ...
6 years, 9 months ago (2014-03-11 18:01:42 UTC) #9
grt (UTC plus 2)
The CQ bit was unchecked by grt@chromium.org
6 years, 9 months ago (2014-03-11 18:04:34 UTC) #10
grt (UTC plus 2)
Committed patchset #2 manually as r1865 (presubmit successful).
6 years, 9 months ago (2014-03-11 18:27:23 UTC) #11
scottmg
6 years, 9 months ago (2014-03-11 18:43:04 UTC) #12
Message was sent while issue was closed.
Based on these revelations, I'm guessing these tests aren't working as intended.
:/

test/msvs/config_attrs/gyptest-config_attrs.py:20:if
os.getenv('GYP_MSVS_VERSION'):
test/msvs/config_attrs/gyptest-config_attrs.py:21:  vc_version =
['VC90','VC100'][int(os.getenv('GYP_MSVS_VERSION')) >= 2010]
test/msvs/external_builder/gyptest-all.py:17:if
int(os.environ.get('GYP_MSVS_VERSION', 0)) < 2010:
test/win/gyptest-cl-analysis.py:17:    int(os.environ.get('GYP_MSVS_VERSION',
0)) >= 2012):

Bug: https://code.google.com/p/gyp/issues/detail?id=413

Powered by Google App Engine
This is Rietveld 408576698