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

build: fix arm64 host cross-compilation in GN by zcbenz · Pull Request #51903 · nodejs/node · GitHub

/ node Public

build: fix arm64 host cross-compilation in GN - #51903

Closed
zcbenz wants to merge 1 commit into
nodejs:mainfrom
zcbenz:fix-cross-compilation
Closed

build: fix arm64 host cross-compilation in GN#51903
zcbenz wants to merge 1 commit into
nodejs:mainfrom
zcbenz:fix-cross-compilation

Conversation

zcbenz commented Feb 28, 2024

Copy link
Copy Markdown
Contributor

Should use current_cpu instead of target_cpu in GN build files, otherwise the host build may use wrong configs when doing cross-compilation.

zcbenz added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 28, 2024

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg

nodejs-github-bot added dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency. labels Feb 28, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 28, 2024

Copy link
Copy Markdown
Collaborator

Should use `current_cpu` instead of `target_cpu` in GN build files,
otherwise the host build may use wrong configs when doing cross
compilation.
zcbenz force-pushed the fix-cross-compilation branch from 2af5430 to 6942d29 Compare March 5, 2024 00:29
zcbenz added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 5, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 5, 2024

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

zcbenz added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Mar 6, 2024
nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Mar 6, 2024

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/51903
✔  Done loading data for nodejs/node/pull/51903
----------------------------------- PR info ------------------------------------
Title      build: fix arm64 host cross-compilation in GN (#51903)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     zcbenz:fix-cross-compilation -> nodejs:main
Labels     openssl, needs-ci, dependencies, commit-queue-squash
Commits    1
 - build: fix arm64 host cross-compilation in GN
Committers 1
 - Cheng Zhao 
PR-URL: https://github.com/nodejs/node/pull/51903
Reviewed-By: Michaël Zasso 
Reviewed-By: Luigi Pinca 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/51903
Reviewed-By: Michaël Zasso 
Reviewed-By: Luigi Pinca 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - build: fix arm64 host cross-compilation in GN
   ℹ  This PR was created on Wed, 28 Feb 2024 02:36:17 GMT
   ✔  Approvals: 2
   ✔  - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/51903#pullrequestreview-1905393209
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/51903#pullrequestreview-1907326923
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2024-03-05T23:36:22Z: https://ci.nodejs.org/job/node-test-pull-request/57601/
- Querying data for job/node-test-pull-request/57601/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/8165436949

zcbenz added a commit that referenced this pull request Mar 6, 2024
Should use `current_cpu` instead of `target_cpu` in GN build files,
otherwise the host build may use wrong configs when doing cross
compilation.

PR-URL: #51903
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

zcbenz commented Mar 6, 2024

Copy link
Copy Markdown
Contributor Author

Landed in 384fd17

zcbenz closed this Mar 6, 2024
zcbenz deleted the fix-cross-compilation branch March 6, 2024 02:12
targos pushed a commit that referenced this pull request Mar 7, 2024
Should use `current_cpu` instead of `target_cpu` in GN build files,
otherwise the host build may use wrong configs when doing cross
compilation.

PR-URL: #51903
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos mentioned this pull request Mar 7, 2024
richardlau pushed a commit that referenced this pull request Mar 25, 2024
Should use `current_cpu` instead of `target_cpu` in GN build files,
otherwise the host build may use wrong configs when doing cross
compilation.

PR-URL: #51903
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
richardlau mentioned this pull request Mar 25, 2024
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

commit-queue-failed An error occurred while landing this pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL