On Fri, May 29, 2015 at 12:01 AM, Tim Galvin <tgalvi...@gmail.com> wrote: > Hello, > > I'm having trouble figuring out a way to install v8 on a machine in a > fashion that wouldn't require any connection to the network. I'd like to > essentially scp a tarball of some sort to a host, and then (aside from using > ssh to issue commands) install v8 on the host without talking to the network > at all. > > I've tried running "git clone https://chromium.googlesource.com/v8/v8.git", > bundling the repo in a tar file, scp'ing it to the host in question, and > then running "make" or "make native" with no luck. > > When I try to use the instructions here > https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP, I keep an eye on > things with "watch -n .1 ss -tp" and notice a ton of network traffic calls > associated with git. > > Is there just a plain simple way to install v8 from source without using GYP > or the public internet? > > Thanks
It's probably easiest to clone + gclient sync on your local machine, then tar up the whole tree and copy that. You don't strictly need all of depot_tools (although you are going to need GYP[0]) but it's a whole lot easier to build the project in the ordained way. If you do decide to go down the non-depot_tools path, `make native i18nsupport=off GYPFLAGS="-Dclang=0"` should produce a working build... eventually. The test suite will probably fail to build due to missing gmock/gtest dependencies but you can work around that by telling the Makefile in out/ to build just d8; I forgot what the exact incantation is but it can be done. [0] https://chromium.googlesource.com/external/gyp -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.