-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-4297: [C++] Fix build error with MinGW-w64 32-bit #3443
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
Conversation
|
How could We test this in an automatized way? |
|
I'm working: https://github.com/kou/arrow/tree/appveyor-msys :-) |
Codecov Report
@@ Coverage Diff @@
## master #3443 +/- ##
==========================================
+ Coverage 88.31% 89.29% +0.98%
==========================================
Files 632 503 -129
Lines 79288 70321 -8967
Branches 1069 0 -1069
==========================================
- Hits 70021 62793 -7228
+ Misses 9152 7528 -1624
+ Partials 115 0 -115Continue to review full report at Codecov.
|
|
|
||
| static inline uint32_t SSE4_crc32_u64(uint32_t crc, uint64_t v) { | ||
| #if defined(__MINGW32__) && !defined(__MINGW64__) | ||
| DCHECK(false) << "MinGW-w64 32-bit doesn't support _mm_crc32_u64()"; |
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.
Did you run the tests or are you only concerned about building? This is pretty much not the right solution.
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 is just for fixing build error.
I'm working on test support on MSYS2 in separated issues.
I'll be back again after we can run tests on MSYS2.
|
The appropriate solution is something like this, though according to @jeroen it is insufficient: |
|
@jeroen Right. Can you open a PR for that? |
Improvements for [ARROW-4297](https://issues.apache.org/jira/browse/ARROW-4297). This PR is a follow up to the discussed patch from #3443. Author: Javier Luraschi <javierluraschi@hotmail.com> Author: Kouhei Sutou <kou@clear-code.com> Closes #3693 from javierluraschi/bugfix/mingw32 and squashes the following commits: e56dd14 <Javier Luraschi> Revert "Revert " Revert install python as suggested in pull/3693"" 2ee894f <Javier Luraschi> Revert " Revert install python as suggested in pull/3693" 41ae266 <Javier Luraschi> Revert " Revert disabled test to investigate appveyor failure" e69b1e9 <Javier Luraschi> Revert install python as suggested in pull/3693 f2e4dfa <Javier Luraschi> Revert disabled test to investigate appveyor failure aa9f711 <Javier Luraschi> Install python as suggested in pull/3693 4cb63b1 <Javier Luraschi> Show error details in test as suggested in pull/3693 5b904fa <Javier Luraschi> Skip python since not installed in appveyor e0058b2 <Javier Luraschi> Skip failing tests to investigate later 3a0620f <Javier Luraschi> Use ARROW_BITNESS instead of MinGW checks 9c1d6e4 <Javier Luraschi> skip array-dict-test in win32 builds 057347a <Javier Luraschi> Install gflags as suggested in pull/3693 a24285b <Javier Luraschi> Remove allow_failures as suggested in pull/3693 695bdc9 <Javier Luraschi> Add MinGW32 tests as suggested in pull/3693 aad43b2 <Javier Luraschi> Apply patch discussed under pull/3443 219384f <Kouhei Sutou> Fix build error with MinGW-w64 32-bit
|
Done by #3693. |
Improvements for [ARROW-4297](https://issues.apache.org/jira/browse/ARROW-4297). This PR is a follow up to the discussed patch from apache/arrow#3443. Author: Javier Luraschi <javierluraschi@hotmail.com> Author: Kouhei Sutou <kou@clear-code.com> Closes #3693 from javierluraschi/bugfix/mingw32 and squashes the following commits: e56dd142 <Javier Luraschi> Revert "Revert " Revert install python as suggested in pull/3693"" 2ee894ff <Javier Luraschi> Revert " Revert install python as suggested in pull/3693" 41ae266e <Javier Luraschi> Revert " Revert disabled test to investigate appveyor failure" e69b1e95 <Javier Luraschi> Revert install python as suggested in pull/3693 f2e4dfa1 <Javier Luraschi> Revert disabled test to investigate appveyor failure aa9f7115 <Javier Luraschi> Install python as suggested in pull/3693 4cb63b17 <Javier Luraschi> Show error details in test as suggested in pull/3693 5b904fa4 <Javier Luraschi> Skip python since not installed in appveyor e0058b2a <Javier Luraschi> Skip failing tests to investigate later 3a0620f6 <Javier Luraschi> Use ARROW_BITNESS instead of MinGW checks 9c1d6e46 <Javier Luraschi> skip array-dict-test in win32 builds 057347a0 <Javier Luraschi> Install gflags as suggested in pull/3693 a24285ba <Javier Luraschi> Remove allow_failures as suggested in pull/3693 695bdc91 <Javier Luraschi> Add MinGW32 tests as suggested in pull/3693 aad43b2f <Javier Luraschi> Apply patch discussed under pull/3443 219384f0 <Kouhei Sutou> Fix build error with MinGW-w64 32-bit
Improvements for [ARROW-4297](https://issues.apache.org/jira/browse/ARROW-4297). This PR is a follow up to the discussed patch from apache/arrow#3443. Author: Javier Luraschi <javierluraschi@hotmail.com> Author: Kouhei Sutou <kou@clear-code.com> Closes #3693 from javierluraschi/bugfix/mingw32 and squashes the following commits: e56dd142 <Javier Luraschi> Revert "Revert " Revert install python as suggested in pull/3693"" 2ee894ff <Javier Luraschi> Revert " Revert install python as suggested in pull/3693" 41ae266e <Javier Luraschi> Revert " Revert disabled test to investigate appveyor failure" e69b1e95 <Javier Luraschi> Revert install python as suggested in pull/3693 f2e4dfa1 <Javier Luraschi> Revert disabled test to investigate appveyor failure aa9f7115 <Javier Luraschi> Install python as suggested in pull/3693 4cb63b17 <Javier Luraschi> Show error details in test as suggested in pull/3693 5b904fa4 <Javier Luraschi> Skip python since not installed in appveyor e0058b2a <Javier Luraschi> Skip failing tests to investigate later 3a0620f6 <Javier Luraschi> Use ARROW_BITNESS instead of MinGW checks 9c1d6e46 <Javier Luraschi> skip array-dict-test in win32 builds 057347a0 <Javier Luraschi> Install gflags as suggested in pull/3693 a24285ba <Javier Luraschi> Remove allow_failures as suggested in pull/3693 695bdc91 <Javier Luraschi> Add MinGW32 tests as suggested in pull/3693 aad43b2f <Javier Luraschi> Apply patch discussed under pull/3443 219384f0 <Kouhei Sutou> Fix build error with MinGW-w64 32-bit
No description provided.