This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ddf7f4
commit 2f75785
Showing
225 changed files
with
8,583 additions
and
3,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
*~ | ||
.cpplint-cache | ||
.d8_history | ||
bsuite | ||
d8 | ||
d8_g | ||
shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ ARM Ltd. | |
Hewlett-Packard Development Company, LP | ||
Igalia, S.L. | ||
Joyent, Inc. | ||
Bloomberg Finance L.P. | ||
|
||
Akinori MUSHA <[email protected]> | ||
Alexander Botero-Lowry <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,9 @@ | ||
This directory contains the V8 GYP files used to generate actual project files | ||
for different build systems. | ||
For build instructions, please refer to: | ||
|
||
This is currently work in progress but this is expected to replace the SCons | ||
based build system. | ||
https://code.google.com/p/v8/wiki/BuildingWithGYP | ||
|
||
To use this a checkout of GYP is needed inside this directory. From the root of | ||
the V8 project do the following: | ||
TL;DR version on *nix: | ||
$ make dependencies # Only needed once. | ||
$ make ia32.release -j8 | ||
$ make ia32.release.check # Optionally: run tests. | ||
|
||
$ svn co http://gyp.googlecode.com/svn/trunk build/gyp | ||
|
||
Note for the command lines below that Debug is the default configuration, | ||
so specifying that on the command lines is not required. | ||
|
||
|
||
To generate Makefiles on Linux: | ||
------------------------------- | ||
|
||
$ build/gyp_v8 | ||
|
||
This will build makefiles for ia32, x64 and the ARM simulator with names | ||
Makefile-ia32, Makefile-x64 and Makefile-armu respectively. | ||
|
||
To build and run for ia32 in debug and release version do: | ||
|
||
$ make -f Makefile-ia32 | ||
$ out/Debug/shell | ||
$ make -f Makefile-ia32 BUILDTYPE=Release | ||
$ out/Release/shell | ||
|
||
Change the makefile to build and run for the other architectures. | ||
|
||
|
||
To generate Xcode project files on Mac OS: | ||
------------------------------------------ | ||
|
||
$ build/gyp_v8 | ||
|
||
This will make an Xcode project for the ia32 architecture. To build and run do: | ||
|
||
$ xcodebuild -project build/all.xcodeproj | ||
$ samples/build/Debug/shell | ||
$ xcodebuild -project build/all.xcodeproj -configuration Release | ||
$ samples/build/Release/shell | ||
|
||
|
||
To generate Visual Studio solution and project files on Windows: | ||
---------------------------------------------------------------- | ||
|
||
On Windows an additional third party component is required. This is cygwin in | ||
the same version as is used by the Chromium project. This can be checked out | ||
from the Chromium repository. From the root of the V8 project do the following: | ||
|
||
> svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@66844 third_party/cygwin | ||
|
||
To run GYP Python is required and it is recommended to use the same version as | ||
is used by the Chromium project. This can also be checked out from the Chromium | ||
repository. From the root of the V8 project do the following: | ||
|
||
> svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 third_party/python_26 | ||
|
||
Now generate Visual Studio solution and project files for the ia32 architecture: | ||
|
||
> third_party\python_26\python build/gyp_v8 | ||
|
||
Now open build\All.sln in Visual Studio. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.