Fix compilation errors if host does not support AVX2 (#50316)
* Fix compilation errors if host does not support AVX2 * Add comments to empty preprocessor branches * Explicitly ask for architecture support * Apply -march-native only on GCC * Make sure if clang on x64 would be used it actually pass -march=native, otherwise AVX2 would not be enabled. * Ask test use AVX2 when run on Windows.
Showing
想要评论请 注册 或 登录