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

build: remove `librt` library dependency for Android compatibility by MeowShe · Pull Request #51632 · nodejs/node · GitHub

/ node Public

build: remove librt library dependency for Android compatibility - #51632

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
MeowShe:android-v8_gypfiles
Feb 25, 2024
Merged

build: remove librt library dependency for Android compatibility#51632
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
MeowShe:android-v8_gypfiles

Conversation

MeowShe commented Feb 1, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

On Android, unlike Linux, there are no separate libpthread or librt libraries. That functionality is included directly in libc, which does not need to be explicitly linked against. (Native APIs | Android NDK)

Fix: #50184

Remove librt library dependency when building Node.js for Android, as it does not exist on Android.

Related to PR #51646, as part of a series of build fixes for Android.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

nodejs-github-bot added needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Feb 1, 2024
MeowShe changed the title build: remove librt lib link for Android compatibility build: remove librt library dependency for Android compatibility Feb 1, 2024
lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 3, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 3, 2024

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

MeowShe commented Feb 5, 2024

Copy link
Copy Markdown
Contributor Author

Could we re-request CI again?

MeowShe closed this Feb 10, 2024
MeowShe reopened this Feb 10, 2024

lpinca commented Feb 12, 2024

Copy link
Copy Markdown
Member

Could we re-request CI again?

It is under security embargo.

MeowShe commented Feb 14, 2024

Copy link
Copy Markdown
Contributor Author

Could we re-request CI again?

It is under security embargo.

Anything should I do for that?

lpinca commented Feb 14, 2024

Copy link
Copy Markdown
Member

No, thank you.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

lpinca added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 25, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 25, 2024
nodejs-github-bot merged commit 56ced19 into nodejs:main Feb 25, 2024

Copy link
Copy Markdown
Collaborator

Landed in 56ced19

MeowShe deleted the android-v8_gypfiles branch February 26, 2024 04:19
marco-ippolito pushed a commit that referenced this pull request Feb 26, 2024
PR-URL: #51632
Fixes: #50184
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Feb 27, 2024
PR-URL: #51632
Fixes: #50184
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
marco-ippolito mentioned this pull request Mar 1, 2024
richardlau pushed a commit that referenced this pull request Mar 25, 2024
PR-URL: #51632
Fixes: #50184
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@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

needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v8: "ld.lld: error: unable to find library -lrt" when building for android aarch64

4 participants


Back | FazBrowse Home | New Git URL