-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
sqlite: add build option to build without sqlite #58122
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
Conversation
Signed-off-by: Michael Dawson <[email protected]>
Review requested:
|
Signed-off-by: Michael Dawson <[email protected]>
@@ -883,6 +885,7 @@ const common = { | |||
hasIntl, | |||
hasCrypto, | |||
hasQuic, | |||
hasSQLite, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move the declaration here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anonrig can you clarify what you mean on this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of having the variable declaration on top of the file, what about:
hasSQLite, | |
hasSQLite: Boolean(...), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not consistent with how any of the other ones are done as far as I can see. I was just trying to follow what seems to be existing practice.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58122 +/- ##
==========================================
- Coverage 90.20% 90.14% -0.07%
==========================================
Files 630 630
Lines 186391 186784 +393
Branches 36612 36651 +39
==========================================
+ Hits 168134 168369 +235
- Misses 11068 11199 +131
- Partials 7189 7216 +27
🚀 New features to boost your workflow:
|
Signed-off-by: Michael Dawson <[email protected]>
@anonrig addressed all of your comments except the one I asked for clarification on . |
Signed-off-by: Michael Dawson <[email protected]>
Signed-off-by: Michael Dawson <[email protected]> PR-URL: #58122 Reviewed-By: Edy Silva <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in 535c2f7 |
Signed-off-by: Michael Dawson <[email protected]> PR-URL: #58122 Reviewed-By: Edy Silva <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: James M Snell <[email protected]>
Distributors of Node.js may want to ship without all of surface area so in some cases
build time options are provided to to that.
I was asked by the RHEL team to add an option to build without sqlite so that have that
flexibility and this PR does that.