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: use glob for dependencies of out/Makefile #55789

Merged
merged 1 commit into from
Nov 10, 2024

Conversation

richardlau
Copy link
Member

The out/Makefile target in Makefile has an incomplete list of .gyp files for Node.js dependencies in deps, but also the ones that are listed are unconditional. If using any of the --shared-* configure options, it should be possible to still build Node.js if the corresponding directory under deps is removed.

Convert the explicit list of dependency *.gyp files for the out/Makefile target to a glob. This will pick up any toplevel .gyp files for dependencies present in deps.

The `out/Makefile` target in `Makefile` has an incomplete list of
`.gyp` files for Node.js dependencies in `deps`, but also the ones
that are listed are unconditional. If using any of the `--shared-*`
configure options, it should be possible to still build Node.js if
the corresponding directory under `deps` is removed.

Convert the explicit list of dependency `*.gyp` files for the
`out/Makefile` target to a glob. This will pick up any toplevel
`.gyp` files for dependencies present in `deps`.
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Nov 8, 2024
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.91%. Comparing base (bdc2662) to head (9107059).
Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55789      +/-   ##
==========================================
- Coverage   88.38%   87.91%   -0.48%     
==========================================
  Files         654      654              
  Lines      187575   187819     +244     
  Branches    36096    35827     -269     
==========================================
- Hits       165795   165119     -676     
- Misses      15004    15885     +881     
- Partials     6776     6815      +39     

see 108 files with indirect coverage changes

@richardlau richardlau added request-ci Add this label to start a Jenkins CI on a PR. lts-watch-v18.x PRs that may need to be released in v18.x. lts-watch-v20.x PRs that may need to be released in v20.x labels Nov 9, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 9, 2024
@nodejs-github-bot
Copy link
Collaborator

@richardlau richardlau added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 9, 2024
Copy link
Member

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

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

LGTM

@richardlau richardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 10, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 10, 2024
@nodejs-github-bot nodejs-github-bot merged commit fe1dd26 into nodejs:main Nov 10, 2024
79 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in fe1dd26

@richardlau richardlau deleted the sharedgyp branch November 10, 2024 20:42
@richardlau richardlau linked an issue Nov 10, 2024 that may be closed by this pull request
aduh95 pushed a commit that referenced this pull request Nov 16, 2024
The `out/Makefile` target in `Makefile` has an incomplete list of
`.gyp` files for Node.js dependencies in `deps`, but also the ones
that are listed are unconditional. If using any of the `--shared-*`
configure options, it should be possible to still build Node.js if
the corresponding directory under `deps` is removed.

Convert the explicit list of dependency `*.gyp` files for the
`out/Makefile` target to a glob. This will pick up any toplevel
`.gyp` files for dependencies present in `deps`.

PR-URL: #55789
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI. lts-watch-v18.x PRs that may need to be released in v18.x. lts-watch-v20.x PRs that may need to be released in v20.x needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shared-libuv still requires deps/uv/uv.gyp
5 participants