File tree Expand file tree Collapse file tree 1 file changed +1
-29
lines changed
Expand file tree Collapse file tree 1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ CHECK_CXX_COMPILER_FLAG(-march=native FASTPFOR_COMPILER_SUPPORTS_MARCH_NATIVE)
9292if (FASTPFOR_COMPILER_SUPPORTS_MARCH_NATIVE)
9393 target_compile_options (FastPFOR PRIVATE -march=native)
9494else ()
95- message (STATUS "native target not supported" )
95+ message (STATUS "native target not supported" )
9696endif ()
9797
9898MESSAGE ( STATUS "CMAKE_CXX_FLAGS_DEBUG: " ${CMAKE_CXX_FLAGS_DEBUG} )
@@ -120,34 +120,6 @@ else()
120120 message (STATUS "SIMDE not used" )
121121endif ()
122122
123- # Apply SIMD compiler flags to FastPFOR target
124- if (SUPPORT_SSE42)
125- if (MSVC )
126- target_compile_options (FastPFOR PRIVATE /arch:SSE2)
127- else ()
128- target_compile_options (FastPFOR PRIVATE -msse4.2)
129- endif ()
130- message (STATUS "FastPFOR: SSE4.2 support enabled" )
131- endif ()
132-
133- if (SUPPORT_AVX)
134- if (MSVC )
135- target_compile_options (FastPFOR PRIVATE /arch:AVX)
136- else ()
137- target_compile_options (FastPFOR PRIVATE -mavx)
138- endif ()
139- message (STATUS "FastPFOR: AVX support enabled" )
140- endif ()
141-
142- if (SUPPORT_AVX2)
143- if (MSVC )
144- target_compile_options (FastPFOR PRIVATE /arch:AVX2)
145- else ()
146- target_compile_options (FastPFOR PRIVATE -mavx2)
147- endif ()
148- message (STATUS "FastPFOR: AVX2 support enabled" )
149- endif ()
150-
151123add_executable (entropy src/entropy.cpp)
152124target_link_libraries (entropy FastPFOR)
153125
You can’t perform that action at this time.
0 commit comments