Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-4297: [C++] Fix build error with MinGW-w64 32-bit#3693
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
219384faad43b2695bdc9a24285b057347a9c1d6e43a0620fe0058b25b904fa4cb63b1aa9f711f2e4dfae69b1e941ae2662ee894fe56dd14File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -301,13 +301,24 @@ arrow_add_pkg_config("arrow") | ||
| # | ||
| add_arrow_test(allocator-test) | ||
| add_arrow_test(array-test | ||
| SOURCES | ||
| array-test.cc | ||
| array-binary-test.cc | ||
| array-dict-test.cc | ||
| array-list-test.cc | ||
| array-struct-test.cc) | ||
| if(WIN32) | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @javierluraschi@kou In the future, please add a comment when you add a special case like this, so that we know why it is there. Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. Sorry for this. | ||
| add_arrow_test(array-test | ||
| SOURCES | ||
| array-test.cc | ||
| array-binary-test.cc | ||
| array-list-test.cc | ||
| array-struct-test.cc) | ||
| else() | ||
| add_arrow_test(array-test | ||
| SOURCES | ||
| array-test.cc | ||
| array-binary-test.cc | ||
| array-dict-test.cc | ||
| array-list-test.cc | ||
| array-struct-test.cc) | ||
| endif() | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is it needed?
| ||
| add_arrow_test(buffer-test) | ||
| if(ARROW_IPC) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -110,7 +110,11 @@ static inline uint32_t SSE4_crc32_u32(uint32_t crc, uint32_t v) { | ||
| } | ||
| static inline uint32_t SSE4_crc32_u64(uint32_t crc, uint64_t v) { | ||
| #if ARROW_BITNESS == 32 | ||
| return 0; | ||
| ||
| #else | ||
| return static_cast<uint32_t>(_mm_crc32_u64(crc, v)); | ||
| #endif | ||
| } | ||
| #else // without SSE 4.2. | ||
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.
Why is this needed?
Could you show details of the error by resolving this?
Uh oh!
There was an error while loading. Please reload this page.
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.
@kou, sure:
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.
Thanks.
The following patch will solve this.
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.
If you set PYTHONHOME you shouldn't have to set PYTHONPATH as well. Python will infer the path automatically from PYTHONHOME.
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 will try that, give me a sec...
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.
Actually, the original suggestion breaks the build, see https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/22735113/job/y7dijp1ym0y1q87g, which triggers:
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 couldn't resolve without
PYTHONPATHon local:With
PYTHONPATH: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.
We may need to set environment variables for Python only around testing.
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.
If we want to work this on another pull request, could you open an issue on JIRA?