Trying to build v8 on Windows

64 views
Skip to first unread message

k.a...@adinstruments.com

unread,
Aug 1, 2016, 8:56:42 PM8/1/16
to v8-users
Hi,
This is the first time I have tried to build v8.

The problem is that when I run:

G:\DevQuark\EmbedV8\v8>python build\gyp_v8
Updating projects from gyp files...

G:\DevQuark\EmbedV8\v8>

this command returns in a few seconds with no obvious failure, but does not seem to generate an All.sln file in the v8\build folder.

My steps were:

installed depot_tools

ran gclient

noticed that python could not import gyp

cloned gyp from here:

installed gyp into the depot_tools version of python

Then:
G:\DevQuark\EmbedV8>set DEPOT_TOOLS_WIN_TOOLCHAIN=0
G:\DevQuark\EmbedV8>set GYP_MSVS_VERSION=2013
G:\DevQuark\EmbedV8>set GYP_GENERATORS=ninja

G:\DevQuark\EmbedV8>fetch v8
Running: 'C:\Util\depot_tools\python276_bin\python.exe' 'C:\Util\depot_tools\gclient.py' root
Running: 'C:\Util\depot_tools\python276_bin\python.exe' 'C:\Util\depot_tools\gclient.py' config --spec 'solutions = [
  {
    "managed": False,
    "name": "v8",
    "custom_deps": {},
    "deps_file": "DEPS",
    "safesync_url": "",
  },
]
'
Running: 'C:\Util\depot_tools\python276_bin\python.exe' 'C:\Util\depot_tools\gclient.py' sync --with_branch_heads
Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'
Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*'
Running: git config diff.ignoreSubmodules all

G:\DevQuark\EmbedV8>cd v8

G:\DevQuark\EmbedV8\v8>git checkout -b 4.8 -t branch-heads/4.8
Previous HEAD position was a488b5d... [builtins] implement Array.prototype.includes in TurboFan
Branch 4.8 set up to track remote ref refs/branch-heads/4.8.
Switched to a new branch '4.8'

G:\DevQuark\EmbedV8\v8>python build\gyp_v8
Updating projects from gyp files...

G:\DevQuark\EmbedV8\v8>


Any ideas about what is going wrong here would be greatly appreciated.

Cheers,
Kit

k.a...@adinstruments.com

unread,
Aug 1, 2016, 9:17:20 PM8/1/16
to v8-users
My apologies, I should have searched more thoroughly in this group first.
Using set GYP_GENERATORS=msvs-ninja

has fixed the problem.

Cheers,
Kit 
Reply all
Reply to author
Forward
0 new messages