Re: [v8-users] Building v8 with Makefile

2018-11-13 Thread madana gopal
Thanks for details Jakob and Peter.
 

> Node has been using Makefile mechanism. I am interested to use ninja 
> mechanism here and trying it out first. With use_sysroot = false, is it 
> possible to explicitly mention alternate sysroot path as part of ninja 
> build? Please let me know.


Thanks.

Regards,
Madan 

 

-- 
-- 
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] Building v8 with Makefile

2018-11-13 Thread Peter Schow
Node has been built with yocto, correct?  You may want to see see how
the Node yocto recipe(s) work, and see if someone has already done the
heavy-lifting for V8.

-- 
-- 
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] Building v8 with Makefile

2018-11-13 Thread Jakob Kummerow
You can put:

is_clang = false
use_sysroot = false

into args.gn to make the V8 build use your system toolchain and libraries
instead of the bundled ones.

On Mon, Nov 12, 2018 at 9:18 PM madana gopal 
wrote:

> Hi,
>
> Also, v8 is using its own toolchain for arm,mips  etc, and we have
> toolchain already present as part of our yocto build system.So, do we have
> any way to make v8 build to point to our own toolchain?. please clarify.
>
> Thanks.
>
> Regards,
> Madan
>
> --
> --
> 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 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] Building v8 with Makefile

2018-11-12 Thread madana gopal
Hi,

Also, v8 is using its own toolchain for arm,mips  etc, and we have 
toolchain already present as part of our yocto build system.So, do we have 
any way to make v8 build to point to our own toolchain?. please clarify.

Thanks.

Regards,
Madan

-- 
-- 
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] Building v8 with Makefile

2018-11-12 Thread Jakob Kummerow
Ninja is the only officially supported build system for V8.

I don't know the requirements of the yocto build system. If all you need is
a wrapper, it should be very straightforward to create a two-liner Makefile
that invokes the GN/ninja based build.

If you need to replace GN/ninja entirely, you'll have to create a complete
Makefile yourself. I'm not aware of any existing tool to do this directly;
however the Node.js project maintains GYP files for V8, and one can
generate Makefiles from those, so that path might be worth looking into.
It's also certainly possible to create a tool yourself that generates
Makefiles from GN files, but that's probably quite a bit of work.


On Sun, Nov 11, 2018 at 6:30 PM madana gopal 
wrote:

> Hi Team,
>
> I am trying to prepare a build for v8 in yocto build system. I saw v8 is
> using ninja. Can we generate Makefile for v8 instead of ninja file?.
>
> If so, please share the steps.
>
> Thanks.
>
> Regards,
> Madan
>
> --
> --
> 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 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] Building v8 with Makefile

2018-11-11 Thread madana gopal
Hi Team,

I am trying to prepare a build for v8 in yocto build system. I saw v8 is 
using ninja. Can we generate Makefile for v8 instead of ninja file?.

If so, please share the steps.

Thanks.

Regards,
Madan

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