-
Notifications
You must be signed in to change notification settings - Fork 30k
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
deps: refactor v8.gyp #22017
deps: refactor v8.gyp #22017
Conversation
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.
LGTM 50% rubber stamp
(I skimmed the changes, but did not do a thorough compare since if it passes CI it's most probably correct)
@@ -29,7 +29,7 @@ | |||
|
|||
# Reset this number to 0 on major V8 upgrades. | |||
# Increment by one for each non-official patch applied to deps/v8. | |||
'v8_embedder_string': '-node.12', | |||
'v8_embedder_string': '-node.13', |
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.
Just a question, is this required, just a formality, or does it help keep track of patches?
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.
Required by the V8 update guide. I would be +1 on either removing the requirement for deps/v8/gypfiles
or moving the directory to another place.
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.
or moving the directory to another place.
I want to do that, I just need to find the time.
This apparently breaks the AIX build but I have no idea how. /cc @nodejs/platform-aix |
deps/v8/gypfiles/v8.gyp
Outdated
'sources': [ | ||
'../src/base/debug/stack_trace_posix.cc', | ||
'../src/base/platform/platform-aix.cc', | ||
'../src/base/platform/platform-posix.cc' |
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.
Missing trailing comma?
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.
Thanks!
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.
NP. I didn't initially spot the missing comma either, but I started from the first link failure from https://ci.nodejs.org/job/node-test-commit-aix/16634/nodes=aix61-ppc64/console
10:02:02 ld: 0711-317 ERROR: Undefined symbol: .v8::base::OS::VSNPrintF(char*, int, char const*, char*)
found that v8::base::OS::VSNPrintF
is defined in src/base/platform/platform-posix.cc
and worked back from there. 😄
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.
Nice :). I wonder how gyp interpreted this. Was it even valid syntax?
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.
Yeah, one of the problems of .gyp
files is that this is valid python syntax (concat the two strings).
You can run the following monstrosity to get GYP to check the syntex:
python tools\gyp\gyp_main.py --check deps\v8\gypfiles\v8.gyp -I common.gypi -I config.gypi --depth=.
or for the whole project
python tools\gyp\gyp_main.py --check node.gyp -I common.gypi -I config.gypi --depth=.
Mostly reorders lists of source files to match more BUILD.gn. Fixes a few wrong entries.
Resumed build: https://ci.nodejs.org/job/node-test-pull-request/16186/ |
Landed in 8d10557 |
Mostly reorders lists of source files to match more BUILD.gn. Fixes a few wrong entries. PR-URL: #22017 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
Mostly reorders lists of source files to match more BUILD.gn. Fixes a few wrong entries. PR-URL: nodejs#22017 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
😄 I just run the command I quoted above and found:
Line 1265 in 0f58c44
I'll make a mental note... |
Mostly reorders lists of source files to match more BUILD.gn. Fixes a few wrong entries. Backport-PR-URL: #21668 PR-URL: #22017 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
Mostly reorders lists of source files to match more BUILD.gn.
Fixes a few wrong entries.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes