-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
ARROW-3331: [Gandiva][C++] Add re2 to toolchain #2695
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2695 +/- ##
==========================================
+ Coverage 87.5% 88.51% +1.01%
==========================================
Files 402 341 -61
Lines 61401 57596 -3805
==========================================
- Hits 53728 50981 -2747
+ Misses 7603 6615 -988
+ Partials 70 0 -70 Continue to review full report at Codecov.
|
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.
Minor change re the $ARROW_BUILD_TOOLCHAIN
which is used in Travis CI and Python builds. I will test this out locally, add that, and then merge
@@ -22,48 +22,57 @@ | |||
# This module defines | |||
# RE2_INCLUDE_DIR, directory containing headers | |||
# RE2_STATIC_LIB, path to libre2.a | |||
# re2 imported static library | |||
# RE2_FOUND, whether re2 has been found |
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.
This may or may not work on Windows. We're working on this in conda-forge/re2-feedstock#15 -- I'll add a follow up JIRA to validate this on Windows https://issues.apache.org/jira/browse/ARROW-3433
# RE2 (required for Gandiva) | ||
if (ARROW_GANDIVA) | ||
# re2 | ||
if ("${RE2_HOME}" STREQUAL "") |
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.
This also needs to be added to the $ARROW_BUILD_TOOLCHAIN
part at the top of the file. I will add and push 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.
This was already there. This is failing for me for another reason so I'll push a fix
This appears to have a race condition, encountered when running
|
Still some more dependency issues:
Ideally we should replace all usages of |
This looks good new. Let me know if my changes are OK and then I'll merge. I'm getting a weird error building on Ubuntu 14.04 that's unrelated to this:
|
I think the reason I'm getting that error is because LLVM is compiled with a newer libstdc++ (for LLVM 6 this is required on Ubuntu 14.04), but since I'm compiling with gcc 4.8.x the flags |
@wesm Your changes look good. I ran on ubuntu 14.04 with gcc-4.9 and so, didn't see the LLVM linking error. |
OK. I think the |
sure, pls do. |
Cool. https://issues.apache.org/jira/browse/ARROW-3437. I'll rebase this patch and then merge it |
Author: Pindikura Ravindra <ravindra@dremio.com> Closes #2695 from pravindra/re2 and squashes the following commits: 4408b85 <Pindikura Ravindra> ARROW-3331: Add re2 to toolchain
No description provided.