-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: ease DragonFlyBSD build #29284
Conversation
Implicitly pretending being FreeBSD and disable large pages for this platform.
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.
LGTM with a suggestion. Can you break out the change to tools/gyp/pylib/gyp/common.py into its own commit? That makes gyp upgrades a little easier.
(Not that I expect that there will be many but still.)
src/large_pages/node_large_page.cc
Outdated
@@ -24,6 +24,10 @@ | |||
#include "util.h" | |||
#include "uv.h" | |||
|
|||
#if defined(__DragonFly__) | |||
#error "Large pages is not supported by this platform" | |||
#endif |
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.
It would be nicer to error out in configure.py rather than defer until build time. It should preferably also be its own separate commit.
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 comes more from the fact dragonflybsd "is" FreeBSD from configure standpoint.
@devnexen ping. Should we merge or close this? |
Can be merged if good as is |
@devnexen Can you squash your commits and rebase please. Thanks |
AS I lost the original fork here it is #30201 |
Implicitly pretending being FreeBSD and disable
large pages for this platform.