-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancements to --build-v8-with-gn #58
Conversation
* Split "gn gen" and "ninja" invocations into two separate actions * Make the ninja action use console pool so that progress is shown * Add --build-v8-with-gn-use-goma for faster builds (for Googlers)
@@ -557,6 +557,12 @@ parser.add_option('--build-v8-with-gn', | |||
dest='build_v8_with_gn', | |||
default=False, | |||
help='build V8 using GN instead of gyp') | |||
parser.add_option('--build-v8-with-gn-use-goma', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this also include --build-v8-with-gn
? Otherwise both flags would have to be passed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sgtm. Done.
@@ -46,7 +46,6 @@ def FindGn(options): | |||
return os.path.join(options.v8_path, "buildtools", os_path, "gn") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is directly copied over from V8 upstream (e.g. using v8/tools/update_node.py <v8-path> <node-path>
), so changes to this should land in V8 upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I somehow run into exceptions in build_gn.py when building (i.e. when called with
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confusing with two PRs. Going to just close this one but keep the two commits separate in #60.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes