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

Issue 1952043003: Add SSE2/MMX build flags when building on an x86 host. This is necessary (Closed)

Created:
4 years, 7 months ago by saiarcot895
Modified:
4 years, 7 months ago
Reviewers:
Dirk Pranke, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add SSE2/MMX build flags when building on an x86 host. This is necessary because some files use SSE2 extensions, which may not be available on all x86 CPUs. BUG=607938 R=dpranke@chromium.org Committed: https://crrev.com/bfb9e9ef5c13843e22a74a7bced0d48b6f42c112 Cr-Commit-Position: refs/heads/master@{#392206}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved to compiler_cpu_abi config, and fixed for NaCl build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M build/config/compiler/BUILD.gn View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
saiarcot895
4 years, 7 months ago (2016-05-05 02:54:42 UTC) #1
Dirk Pranke
I'm not close enough to how these compiler flags work on different host cpus, so ...
4 years, 7 months ago (2016-05-05 17:26:36 UTC) #3
Nico
lgtm; from what I understand this ports https://codereview.chromium.org/187423002 to gn https://codereview.chromium.org/1952043003/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/1952043003/diff/1/build/config/compiler/BUILD.gn#newcode226 ...
4 years, 7 months ago (2016-05-05 17:33:23 UTC) #4
saiarcot895
https://codereview.chromium.org/1952043003/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/1952043003/diff/1/build/config/compiler/BUILD.gn#newcode226 build/config/compiler/BUILD.gn:226: "-mmmx", On 2016/05/05 at 17:33:23, Nico wrote: > doesn't ...
4 years, 7 months ago (2016-05-05 21:25:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952043003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952043003/1
4 years, 7 months ago (2016-05-05 22:42:37 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/133190)
4 years, 7 months ago (2016-05-05 23:36:26 UTC) #9
saiarcot895
PTAL. The CFLAGS addition has been moved to the compiler_cpu_abi config section, and the code ...
4 years, 7 months ago (2016-05-06 03:31:07 UTC) #10
Dirk Pranke
lgtm
4 years, 7 months ago (2016-05-06 22:36:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952043003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952043003/20001
4 years, 7 months ago (2016-05-06 22:36:49 UTC) #14
Nico
Hm, in the new location clang-cl won't see these flags.
4 years, 7 months ago (2016-05-06 22:38:54 UTC) #15
Dirk Pranke
On 2016/05/06 22:38:54, Nico wrote: > Hm, in the new location clang-cl won't see these ...
4 years, 7 months ago (2016-05-06 22:45:52 UTC) #16
Nico
This is adding flags missing in the gn build; might as well do it right ...
4 years, 7 months ago (2016-05-06 22:52:02 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-06 23:42:30 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 23:44:55 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bfb9e9ef5c13843e22a74a7bced0d48b6f42c112
Cr-Commit-Position: refs/heads/master@{#392206}

Powered by Google App Engine
This is Rietveld 408576698