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
THRIFT-5109: Misc CMake build improvements #2094
THRIFT-5109: Misc CMake build improvements #2094
Conversation
e962146
to
814a6ba
Compare
Moving towards one build system (cmake) is a great effort, it's nice to see this happening in some capacity. Unfortunately when builds break... merging is hard. :) |
Haha yes! I was actually hoping you could help with the Gruntfile? The "problem" now is not that the CMake build itself would be broken. The problem is that the Javascript build in autotools was not used on MSVC before, whereas in CMake I have now enabled Javascript on MSVC. And it fails, probably never worked. This could and should be split off into a separate issue, unless you (or someone else) could fix the Javascript build? |
The rest of this PR should be fine and should have worked from the start. The failing Javascript could just be disabled on AppVeyor. |
I was going to suggest the same thing, but was distracted and didn't get back to it. Since JS issue is unrelated to cmake (the issue is that JS can't be compiled on windows), one solution is to disable JS build on windows, and make another issue for JS. |
cfc83c0
to
697fe3e
Compare
I've found a small improvement where the Javascript target actually depends on the target that copies the compiler into the source tree, not on the build of the compiler. This ensures that if the compiler is not built, it will still be copied. If the CI is now successful, this should be ready for review / merge. |
There seems to be an unrelated issue in https://travis-ci.org/github/apache/thrift/jobs/677163097. Should I re-trigger the builds and tests? |
697fe3e
to
3ca3274
Compare
Re-triggered build with a rebase on latest master, to fix random error in Travis CI. |
:-( Another random error in the CI. Can this be merged anyways? |
…port (not complete yet)
Patch: Mario Emmenlauer This closes apache#2026 This closes apache#2025 This closes apache#2021
3ca3274
to
8af9f7b
Compare
Ready for review. |
@janosvitok comments from your side? |
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.
I can't tell anything about th grunt part; cmake looks OK.
I like the NOT WIN32 solution to disable JS on WIndows.
Patch: Mario Emmenlauer This closes apache#2094
Patch: Mario Emmenlauer
This closes #2026
This closes #2025
This closes #2021
[skip ci]
at the end of your pull request to free up build resources.