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

Issue 9808065: Add support for Mac OS X 64bit builds with GYP (Closed)

Created:
8 years, 9 months ago by fdmanana
Modified:
8 years, 8 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@bleeding_edge
Visibility:
Public.

Description

Add support for Mac OS X 64bit builds with GYP Note that in order to build for 64bits mode, you'll have to specify the target architecture explicitely, the default is still 32bits for Mac OS X. Example with make and gcc: $ export GYP_GENERATORS=make $ make dependencies $ make -j 8 library=shared x64.release Example with make and clang: $ export GYP_GENERATORS=make $ export CC=/usr/bin/clang $ export CXX=/usr/bin/clang++ $ export GYP_DEFINES="clang=1" $ make dependencies $ make -j 8 library=shared x64.release Example with xcode: $ export GYP_GENERATORS=xcode $ build/gyp_v8 -Dtarget_arch=x64 $ xcodebuild -project build/all.xcodeproj -configuration Release Contributed by Filipe David Manana <fdmanana@gmail.com>; BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=11199

Patch Set 1 #

Patch Set 2 : Remove unnecessary condition when use_system_v8!=0 #

Patch Set 3 : Fixed typo in commit message #

Total comments: 9

Patch Set 4 : Several updates after Jakob's review #

Patch Set 5 : Rebased against latest bleeding_edge branch and re-tested #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Makefile View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M build/gyp_v8 View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
fdmanana
From the v8-dev thread: http://groups.google.com/group/v8-dev/browse_thread/thread/5e1aa99b9ab9a6d5
8 years, 9 months ago (2012-03-23 16:26:42 UTC) #1
fdmanana
Patchset 2 removes an unnecessary GYP condition when use_system_v8 != 0
8 years, 9 months ago (2012-03-24 09:43:49 UTC) #2
fdmanana
Fixed a typo in the commit message (explictely -> explicitly) and rebased against latest bleeding_edge ...
8 years, 9 months ago (2012-03-28 14:29:38 UTC) #3
Jakob Kummerow
Thanks again for doing this. The patch looks pretty good and works fine according to ...
8 years, 9 months ago (2012-03-28 16:08:51 UTC) #4
fdmanana
Thanks Jakob. Your comments helped me getting some more insight into the build system/goals (it's ...
8 years, 9 months ago (2012-03-28 16:49:29 UTC) #5
fdmanana
Patch set 4 addresses your review Jakob. I tested this with all the combinations of ...
8 years, 9 months ago (2012-03-28 16:51:02 UTC) #6
fdmanana
Rebased against latest bleeding_edge branch and re-tested.
8 years, 8 months ago (2012-03-30 14:16:35 UTC) #7
Jakob Kummerow
Thanks. Landing this now. I took the liberty to do a minor refactoring to common.gypi. ...
8 years, 8 months ago (2012-03-30 15:00:36 UTC) #8
Jakob Kummerow
forgot: LGTM :-)
8 years, 8 months ago (2012-03-30 15:00:55 UTC) #9
fdmanana
8 years, 8 months ago (2012-03-30 15:52:03 UTC) #10
Thanks Jakob!

Powered by Google App Engine
This is Rietveld 408576698