[SERVER-7086] add v8 to build system Created: 20/Sep/12  Updated: 02/Aug/18  Resolved: 29/Oct/12

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 2.2.0
Fix Version/s: 2.3.1

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Choose a V8 version (use current Chrome version)
Change the behavior of --usev8 to use our new incorporated code
Figure out whether to incorporate source code into third_party/, or just incorporate a library and statically link at build time
Create new SConscript to build v8 source files with appropriate compiler flags
Use SpiderMonkey's SConscript and V8's SConstruct/SConscripts as a starting point



 Comments   
Comment by auto [ 09/Nov/12 ]

Author:

{u'date': u'2012-11-09T21:44:05Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7086 Visual Studio – create V8 source files using js2c.py

Make the location of experimental-libraries.cc and libraries.cc
match the location where scons creates them. Run the same Python
script that scons uses to create the files.
Branch: master
https://github.com/mongodb/mongo/commit/865564833f8f7a90ff0c5a209d89e7ad579ee5a1

Comment by auto [ 09/Nov/12 ]

Author:

{u'date': u'2012-11-05T15:33:30Z', u'email': u'rassi@10gen.com', u'name': u'Jason Rassi'}

Message: SERVER-7086 Add V8 build logic to call into JS2C

This generates V8's experimental-libraries.cc and libraries.cc as
part of the build process.
Branch: master
https://github.com/mongodb/mongo/commit/608a083d82930ff5d5a0d306ecf60eb7f3a4cadb

Comment by auto [ 08/Nov/12 ]

Author:

{u'date': u'2012-11-07T19:13:04Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-7086 Add Visual Studio projects for V8

Added mongo_v8 and mongod_v8 projects for building the shell and
mongod with V8 instead of SpiderMonkey.
Branch: master
https://github.com/mongodb/mongo/commit/066f1dc4d417736b2c8cfe7941d690ee428bda05

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T14:19:17-07:00', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-7086 Integrate third_party V8 build into SConstruct
Branch: master
https://github.com/mongodb/mongo/commit/6e9661724b51a8c95eb65c24871f618dfabd79df

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T14:09:11-07:00', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-7086 Add README for src/third_party/v8 directory
Branch: master
https://github.com/mongodb/mongo/commit/fe304038351a277d9292fbb64db259d596bb8ed4

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T14:06:27-07:00', u'email': u'rassi@10gen.com', u'name': u'Jason Rassi'}

Message: SERVER-7086 Complete implementation of V8 SConscript

Supports [MacOS, Linux, Windows, Solaris, FreeBSD]

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T14:01:23-07:00', u'email': u'rassi@10gen.com', u'name': u'Jason Rassi'}

Message: SERVER-7086 Add V8 JS2C-generated .cc files

These are platform-independent, and were taken from a V8 build of
the same version.
Branch: master
https://github.com/mongodb/mongo/commit/0de986c712700355c98f0ab20ddb27a713ee8be7

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T13:51:02-07:00', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-7086 Pare down V8 compiler flags
Branch: master
https://github.com/mongodb/mongo/commit/4251cfcc1123ffd66a2d286e2bae7e25e6d5822a

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T13:38:28-07:00', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-7086 Merge V8 scons files into new SConscript

Removed all but the following:

Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-25T13:18:04-07:00', u'email': u'rassi@10gen.com', u'name': u'Jason Rassi'}

Message: SERVER-7086 Add V8 3.12.19.11 to src/third_party/v8

Using the following:

$ git clone -b 3.12 git://github.com/v8/v8
$ rm -rf \
benchmarks/ \
build/ \
DEPS \
Makefile \
Makefile.android \
preparser/ \
samples/ \
src/arm/ \
src/mips/ \
test/

(Above to reduce directory size from 46M to 13M)
Branch: master
https://github.com/mongodb/mongo/commit/d5919cad9a83b4e78701b45f617e953340c920a5

Comment by Eric Milkie [ 29/Oct/12 ]

We need to choose a tag and stick with it. I'm sure as soon as we settle on something, there will be more bug fixes. We should glance at the changes in the subversion tree but I don't think we should incorporate them unless we think they are critical.

Comment by J Rassi [ 26/Oct/12 ]

Tad points out that the head of the 3.12 svn branch is 3.12.19.16 (I pulled in 3.12.19.11, which is the head of the 3.12 git branch). Haven't looked into what the commits are, but they're probably worth considering.

Comment by J Rassi [ 25/Oct/12 ]

http://codereview.10gen.com/8683044

Generated at Thu Feb 08 03:13:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.