Skip to content

Conversation

@gengjiawen
Copy link
Member

This is pretty useful when debug missing symbol on windows.

See https://docs.microsoft.com/en-us/cpp/build/reference/p-preprocess-to-a-file?view=vs-2019

@nodejs-github-botnodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Oct 21, 2020
@gengjiawen
Copy link
MemberAuthor

cc @nodejs/platform-windows @targos

@targos
Copy link
Member

How did you add the /P argument?

@gengjiawen
Copy link
MemberAuthor

gengjiawen commented Oct 23, 2020

How did you add the /P argument?

diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index fd786d024e..696474c053 100644 --- a/tools/v8_gypfiles/v8.gyp+++ b/tools/v8_gypfiles/v8.gyp@@ -203,7 +203,7 @@ 'target_defaults':{'msvs_settings':{'VCCLCompilerTool':{- 'AdditionalOptions': ['/utf-8']+ 'AdditionalOptions': ['/utf-8', '/P'] } }, },

Recently use case is #35433. The clang support maybe require us to patch v8 again.

@gengjiawen
Copy link
MemberAuthor

@targos ping

Copy link
Member

@targostargos left a comment

Choose a reason for hiding this comment

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

@nodejs/build-files

@gengjiawengengjiawen added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 28, 2020
@github-actionsgithub-actionsbot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 28, 2020
@github-actions
Copy link
Contributor

Commit Queue failed
- Loading data for nodejs/node/pull/35735 ✔ Done loading data for nodejs/node/pull/35735 ----------------------------------- PR info ------------------------------------ Title tools: add msvc /P output to .gitignore (#35735) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch gengjiawen:msvc-ignore -> nodejs:master Labels meta Commits 1 - tools: add msvc /P output to .gitignore Committers 1 - Jiawen Geng PR-URL: https://github.com/nodejs/node/pull/35735 Reviewed-By: Michaël Zasso ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/35735 Reviewed-By: Michaël Zasso -------------------------------------------------------------------------------- ✔ Last GitHub Actions successful ✖ No Jenkins CI runs detected ℹ This PR was created on Wed, 21 Oct 2020 10:47:38 GMT ✔ Approvals: 1 ✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/35735#pullrequestreview-517615271 ✖ This PR needs to wait 9 more hours to land (or 0 hours if there is one more approval) -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu

Commit Queue action: https://github.com/nodejs/node/actions/runs/332615436

@github-actionsgithub-actionsbot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Oct 28, 2020
gengjiawen added a commit that referenced this pull request Oct 30, 2020
@gengjiawen
Copy link
MemberAuthor

Landed in 48ed72d

@gengjiawengengjiawen deleted the msvc-ignore branch October 30, 2020 01:47
targos pushed a commit that referenced this pull request Nov 3, 2020
@targostargos mentioned this pull request Nov 3, 2020
targos pushed a commit that referenced this pull request Mar 3, 2021
MylesBorins pushed a commit that referenced this pull request Apr 6, 2021
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
@targostargos removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Sep 5, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metaIssues and PRs related to the general management of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@gengjiawen@targos@nodejs-github-bot