We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f5788e commit 9aa8164Copy full SHA for 9aa8164
cpp/cmake_modules/SetupCxxFlags.cmake
@@ -49,11 +49,7 @@ endif()
49
if(ARROW_CPU_FLAG STREQUAL "x86")
50
# x86/amd64 compiler flags, msvc/gcc/clang
51
if(MSVC)
52
- set(ARROW_SSE4_2_FLAG "/arch:SSE4.2")
53
- # These definitions are needed for xsimd to consider the corresponding instruction
54
- # sets available, but they are not set by MSVC (unlike other compilers).
55
- # See https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4265
56
- add_definitions(-D__SSE2__ -D__SSE4_1__ -D__SSE4_2__)
+ set(ARROW_SSE4_2_FLAG "")
57
set(ARROW_AVX2_FLAG "/arch:AVX2")
58
# MSVC has no specific flag for BMI2, it seems to be enabled with AVX2
59
set(ARROW_BMI2_FLAG "/arch:AVX2")
0 commit comments