-
Notifications
You must be signed in to change notification settings - Fork 2.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: Allow compilation on Windows #14718
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
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.
Makes sense to me. I only had minor comments and nits.
Vitess is not always just used standalone, but also sometimes for components. For example the parser, schemadiff, the MySQL connection parser etc. are components used separately. Even though these parts have no OS specific bits (like process management etc. for tablet management and MySQL), we can't compile this on Windows due to dependencies on things like syslog in places. These changes allow for building Vitess on Windows. This does not in any way indicate actual support for Windows for Vitess or even plans to ever do that in the future, it's solely here to make it easier to use Vitess parts as a library. Signed-off-by: Dirkjan Bussink <[email protected]>
Signed-off-by: Dirkjan Bussink <[email protected]>
245136f
to
45ee093
Compare
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.
The hope here is that this is a temporary stopgap until we can re-architect Vitess and extract the parts that would be meaningful as a library -- then those parts would be the only ones that would support compilation under Windows.
Signed-off-by: Dirkjan Bussink <[email protected]>
Vitess is not always just used standalone, but also sometimes for components. For example the parser, schemadiff, the MySQL connection parser etc. are components used separately.
Even though these parts have no OS specific bits (like process management etc. for tablet management and MySQL), we can't compile this on Windows due to dependencies on things like syslog in places.
These changes allow for building Vitess on Windows. This does not in any way indicate actual support for Windows for Vitess or even plans to ever do that in the future, it's solely here to make it easier to use Vitess parts as a library.
Related Issue(s)
Part of #14717
Checklist