Re: [v8-users] How do I build V8 with gn to be able to compile PHP extension v8js?

2016-10-17 Thread Temuri Imnaishvili
I tried that. That does produce *.so files.

However, v8js compilation also requires libv8_libplatform.a which was 
created from out/native/obj.target/tools/gyp/libv8_libplatform.a, which is 
no longer created during compilation.

On Monday, 17 October 2016 05:02:54 UTC-4, Ben Noordhuis wrote:
>
> On Sat, Oct 15, 2016 at 7:58 PM, Temuri Imnaishvili  > wrote: 
> > Hi all, 
> > 
> > I've successfully compiled V8 with gn following instructions at 
> > https://github.com/v8/v8/wiki/Building%20with%20GN (using 
> tools/dev/v8gen.py 
> > x64.release) 
> > 
> > However, I cannot find v8 .so files anywhere. As a result, v8js would 
> not 
> > compile. 
> > 
> > What's the right way to build V8 to have .so files? 
> > 
> > Thanks! 
>
> Untested but I believe either running `tools/dev/v8gen.py x64.release 
> -- is_component_build=true` or passing 
> --args="is_component_build=true" to `gn gen` should do it. 
>

-- 
-- 
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.


Re: [v8-users] How do I build V8 with gn to be able to compile PHP extension v8js?

2016-10-17 Thread Ben Noordhuis
On Sat, Oct 15, 2016 at 7:58 PM, Temuri Imnaishvili  wrote:
> Hi all,
>
> I've successfully compiled V8 with gn following instructions at
> https://github.com/v8/v8/wiki/Building%20with%20GN (using tools/dev/v8gen.py
> x64.release)
>
> However, I cannot find v8 .so files anywhere. As a result, v8js would not
> compile.
>
> What's the right way to build V8 to have .so files?
>
> Thanks!

Untested but I believe either running `tools/dev/v8gen.py x64.release
-- is_component_build=true` or passing
--args="is_component_build=true" to `gn gen` should do it.

-- 
-- 
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.


[v8-users] How do I build V8 with gn to be able to compile PHP extension v8js?

2016-10-15 Thread Temuri Imnaishvili
Hi all,

I've successfully compiled V8 with gn following instructions 
at https://github.com/v8/v8/wiki/Building%20with%20GN (using tools/dev/v8gen.py 
x64.release)

However, I cannot find v8 .so files anywhere. As a result, v8js would not 
compile.

What's the right way to build V8 to have .so files?

Thanks!

-- 
-- 
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.