FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

deps: refactor v8.gyp by targos · Pull Request #22017 · nodejs/node · GitHub

/ node Public

deps: refactor v8.gyp - #22017

Closed
targos wants to merge 2 commits into
nodejs:masterfrom
targos:refactor-v8-gyp
Closed

deps: refactor v8.gyp#22017
targos wants to merge 2 commits into
nodejs:masterfrom
targos:refactor-v8-gyp

Conversation

targos commented Jul 29, 2018

Copy link
Copy Markdown
Member

Mostly reorders lists of source files to match more BUILD.gn.
Fixes a few wrong entries.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added build Issues and PRs related to build files or the CI. v8 engine Issues and PRs related to the V8 dependency. labels Jul 29, 2018

refack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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)

Comment thread common.gypi Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Just a question, is this required, just a formality, or does it help keep track of patches?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

or moving the directory to another place.

I want to do that, I just need to find the time.

targos commented Aug 1, 2018
edited
Loading

Copy link
Copy Markdown
Member Author

targos commented Aug 2, 2018

Copy link
Copy Markdown
Member Author

This apparently breaks the AIX build but I have no idea how.

/cc @nodejs/platform-aix

Comment thread deps/v8/gypfiles/v8.gyp Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Missing trailing comma?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice :). I wonder how gyp interpreted this. Was it even valid syntax?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

targos added 2 commits August 2, 2018 23:09
Mostly reorders lists of source files to match more BUILD.gn.
Fixes a few wrong entries.

targos commented Aug 2, 2018

Copy link
Copy Markdown
Member Author

targos commented Aug 4, 2018
edited
Loading

Copy link
Copy Markdown
Member Author

targos commented Aug 4, 2018

Copy link
Copy Markdown
Member Author

Landed in 8d10557

targos closed this Aug 4, 2018
targos deleted the refactor-v8-gyp branch August 4, 2018 16:09
targos added a commit that referenced this pull request Aug 4, 2018
Mostly reorders lists of source files to match more BUILD.gn.
Fixes a few wrong entries.

PR-URL: #22017
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos added a commit to psmarshall/node that referenced this pull request Aug 4, 2018
Mostly reorders lists of source files to match more BUILD.gn.
Fixes a few wrong entries.

PR-URL: nodejs#22017
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

refack commented Aug 5, 2018

Copy link
Copy Markdown
Contributor

😄 I just run the command I quoted above and found:

Warning: Missing input files:
..\deps\v8\gypfiles\..\src\parsing\preparse-data-format.h

'../src/parsing/preparse-data-format.h',

I'll make a mental note...

MylesBorins pushed a commit that referenced this pull request Aug 10, 2018
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 <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL