X Tutup
The Wayback Machine - https://web.archive.org/web/20220409063000/https://github.com/nodejs/node/pull/42538
Skip to content
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

build: remove precompiled header and debug information for host builds #42538

Merged

Conversation

Copy link
Contributor

@nsait-linaro nsait-linaro commented Mar 31, 2022

This is required to fix cross-compilation of windows/arm64 builds.

Precompiled header includes arm64 register configurations which are included for host builds and conflicts with x64 register. So they have to be removed from host builds.

Debug information is also disabled for host builds to avoid creating large libraries linker cannot handle.

Refs: #42375

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Mar 31, 2022

Review requested:

@nodejs-github-bot nodejs-github-bot added build needs-ci tools v8 engine labels Mar 31, 2022
@targos targos added the request-ci label Apr 4, 2022
@github-actions github-actions bot removed the request-ci label Apr 4, 2022
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Apr 4, 2022

@nsait-linaro
Copy link
Contributor Author

@nsait-linaro nsait-linaro commented Apr 5, 2022

@targos I am not sure if the CI failures are related to this patch.

https://ci.nodejs.org/job/node-test-linter/44365/console

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Apr 5, 2022

@targos
Copy link
Member

@targos targos commented Apr 5, 2022

Probably unrelated. I restarted CI.

@targos targos added the commit-queue label Apr 5, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Apr 5, 2022
@nodejs-github-bot nodejs-github-bot merged commit 818284b into nodejs:master Apr 5, 2022
61 checks passed
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Apr 5, 2022

Landed in 818284b

juanarbol added a commit that referenced this issue Apr 6, 2022
PR-URL: #42538
Refs: #42375
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@juanarbol juanarbol mentioned this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build needs-ci tools v8 engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants
X Tutup