-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-47909: [C++] Fix MSVC ARM64 build #47910
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
|
|
|
@AntoinePrv Could you take a look at this? |
|
Thanks for looking into this! For reference, I did no create a The fix works, but I am also working on this files, and may add an SSE compilation that will share the same xsimd code as the Neon one (hence the undescriptive I believe that, equivalently to the |
Make sure that xsimd is only included when SIMD is requested
f2ed7dc to
a5ebdec
Compare
AntoinePrv
left a comment
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.
Hope it solves the issue, fix is looking good to me.
|
Thanks for the insight, @AntoinePrv! I have tested it locally and have updated #47811 so we can see it working in the CI. |
pitrou
left a comment
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.
+1, let's wait for CI
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit a625340. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 15 possible false positives for unstable benchmarks that are known to sometimes produce them. |
### Rationale for this change apache#47573 broke the Windows ARM64 MSVC build by trying to compile xsimd even when `ARROW_SIMD_LEVEL` is set to `NONE`. ### What changes are included in this PR? Make sure that xsimd is only included when SIMD is requested. ### Are these changes tested? Yes, in the Windows ARM64 MSVC build pipeline that I was developing on apache#47811 when I noticed the change. ### Are there any user-facing changes? No. * GitHub Issue: apache#47909 Authored-by: Jonathan Giannuzzi <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Rationale for this change
#47573 broke the Windows ARM64 MSVC build by trying to compile xsimd even when
ARROW_SIMD_LEVELis set toNONE.What changes are included in this PR?
Make sure that xsimd is only included when SIMD is requested.
Are these changes tested?
Yes, in the Windows ARM64 MSVC build pipeline that I was developing on #47811 when I noticed the change.
Are there any user-facing changes?
No.