loctormor opened a new pull request, #50526: URL: https://github.com/apache/arrow/pull/50526
The SSE4.2 flag is invalid for the MSVC x86 compiler. https://learn.microsoft.com/en-us/cpp/build/reference/arch-x86 ### Rationale for this change MSVC x86 builds generate hundreds of nuisance warnings that resemble: cl : Command line warning D9002 : ignoring unknown option '/arch:SSE4.2' This change aligns the flag with Microsoft documentation to remove the warnings. ### What changes are included in this PR? Simple replacement of the MSVC-specific flag "/arch:SSE4.2" with an empty string. This matches a working configuration prior to ~July 2025, at which time the flag seems to have been erroneously edited while adding xsimd definitions below. ### Are these changes tested? Yes - using cmake version 3.29.6 and a VC18 compiler. ### Are there any user-facing changes? No. This only affects developers building the source code and has no impact on the Apache Arrow libraries. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
