Skip to content

Commit 9aa8164

Browse files
committed
Revert SetupCxxFlags change
1 parent 7f5788e commit 9aa8164

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cpp/cmake_modules/SetupCxxFlags.cmake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ endif()
4949
if(ARROW_CPU_FLAG STREQUAL "x86")
5050
# x86/amd64 compiler flags, msvc/gcc/clang
5151
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__)
52+
set(ARROW_SSE4_2_FLAG "")
5753
set(ARROW_AVX2_FLAG "/arch:AVX2")
5854
# MSVC has no specific flag for BMI2, it seems to be enabled with AVX2
5955
set(ARROW_BMI2_FLAG "/arch:AVX2")

0 commit comments

Comments
 (0)