wpleonardo commented on PR #1375:
URL: https://github.com/apache/orc/pull/1375#issuecomment-1517823536

   Just fixed an AVX512 flag check issue on windows platform.
   In CI Windows test, the test machine doesn't have AVX512 CPU flags, but in 
Cmake file, the checking code failed to verify successfully. The reason is that 
   check_cxx_compiler_flag("/arch:AVX512" COMPILER_SUPPORT_AVX512)
   only check if enable the use of AVX512 instructions 
(https://learn.microsoft.com/en-us/cpp/build/reference/arch-x64?view=msvc-170), 
but CPU doesn't have AVX512 flags.
   So, I changed the checking code to
   check_cxx_compiler_flag("-mavx512f -mavx512cd -mavx512vl -mavx512dq 
-mavx512bw" COMPILER_SUPPORT_AVX512)
   It will verify if the current CPU has AVX512 instructions directly.


-- 
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]

Reply via email to