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

Issue 10268010: Clean up Makefile, enable MIPS cross-compilation (Closed)

Created:
8 years, 7 months ago by Jakob Kummerow
Modified:
8 years, 7 months ago
Reviewers:
Sven Panne, palfia
CC:
v8-dev
Visibility:
Public.

Description

Clean up Makefile, enable MIPS cross-compilation Committed: https://code.google.com/p/v8/source/detail?r=11486

Patch Set 1 #

Total comments: 2

Patch Set 2 : better mips compiler detection #

Total comments: 4

Patch Set 3 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -118 lines) Patch
M Makefile View 2 chunks +21 lines, -42 lines 0 comments Download
D build/armu.gypi View 1 chunk +0 lines, -36 lines 0 comments Download
M build/common.gypi View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M build/gyp_v8 View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
D build/mipsu.gypi View 1 chunk +0 lines, -33 lines 0 comments Download
M build/standalone.gypi View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
palfia
It works fine for mips target with CodeSourcery toolchain, but it failed to build V8 ...
8 years, 7 months ago (2012-05-02 18:39:21 UTC) #1
palfia
https://chromiumcodereview.appspot.com/10268010/diff/1/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10268010/diff/1/build/common.gypi#newcode177 build/common.gypi:177: 'mipscompiler': '<!((echo | $(echo ${CXX:-$(which g++)}) -EL -E - ...
8 years, 7 months ago (2012-05-02 18:54:50 UTC) #2
Jakob Kummerow
OK, changed the MIPS compiler detection. Checking the "Target:" line of "g++ -v"'s output should ...
8 years, 7 months ago (2012-05-03 07:37:02 UTC) #3
Sven Panne
LGTM with nits. https://chromiumcodereview.appspot.com/10268010/diff/5001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/10268010/diff/5001/build/common.gypi#newcode177 build/common.gypi:177: 'mipscompiler': '<!($(echo ${CXX:-$(which g++)}) -v 2>&1 ...
8 years, 7 months ago (2012-05-03 07:46:41 UTC) #4
Jakob Kummerow
8 years, 7 months ago (2012-05-03 08:11:02 UTC) #5
Landing.

https://chromiumcodereview.appspot.com/10268010/diff/5001/build/common.gypi
File build/common.gypi (right):

https://chromiumcodereview.appspot.com/10268010/diff/5001/build/common.gypi#n...
build/common.gypi:177: 'mipscompiler': '<!($(echo ${CXX:-$(which g++)}) -v 2>&1
| grep -q "^Target: mips" && echo "yes" || echo "no")',
On 2012/05/03 07:46:41, Sven Panne wrote:
> Nit: mips => mips-

Done.

https://chromiumcodereview.appspot.com/10268010/diff/5001/build/gyp_v8
File build/gyp_v8 (right):

https://chromiumcodereview.appspot.com/10268010/diff/5001/build/gyp_v8#newcod...
build/gyp_v8:172: gyp_args.append('-S-x64')
On 2012/05/03 07:46:41, Sven Panne wrote:
> -x64 => .x64, same below

Done.

Powered by Google App Engine
This is Rietveld 408576698