v8 on FreeBSD

26 views
Skip to first unread message

ahuete...@gmail.com

unread,
Feb 2, 2020, 1:35:13 PM2/2/20
to v8-dev
Hi,

According to https://v8.dev/docs/source-code the way to checkout v8's source is with depot_tools which aren't available for other platforms like FreeBSD.
What would be the correct step?

Regards,
Antonio Huete
Message has been deleted

Dominic Cerisano

unread,
Feb 2, 2020, 7:20:56 PM2/2/20
to v8-dev
Maybe look at how others have done it. Here is an older example based on the V8 GYP build.  There may be more up to date (GN) scripts elsewhere.
I think NodeJS build contains the V8 GYP build.

https://github.com/Kronuz/Xapiand/blob/master/contrib/freebsd/v8.shar

ahuete...@gmail.com

unread,
Feb 2, 2020, 7:25:26 PM2/2/20
to v8-dev
Thanks a lot! That Xapian Makefile example looks great.

BTW, if I wanted to ask why depot_tools and/or cipd are not available for platforms not linux, darwin or win, where should I ask?

Dominic Cerisano

unread,
Feb 2, 2020, 7:46:13 PM2/2/20
to v8-dev
The issue seems to be that V8 recently moved from GYP to GN build engineering.
There does not seem to be a port of depot_tools to FreeBSD required for the GN build yet.

So perhaps the NodeJS GYP build of V8 is the way to go.
If you do manage to get an up to date port of depot_tools, stick with the official V8 GN build, and please share your solution.

ahuete...@gmail.com

unread,
Feb 2, 2020, 7:56:14 PM2/2/20
to v8-dev
I've only played around with depot_tools so far, but the main problem I have seen so far is that cipd (from luci-go) does not support FreeBSD and it pulls "packages" from some cloud URL that only contains win, darwin and linux binaries, as far as I can tell.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages