diff options
author | Young Jin Kim <youki@microsoft.com> | 2021-03-22 06:25:17 +0300 |
---|---|---|
committer | Young Jin Kim <youki@microsoft.com> | 2021-03-22 06:25:17 +0300 |
commit | 245429bcd2fed4c23ac2c7d90ca6706030375d98 (patch) | |
tree | b21e2750b5a252107d9a55c2d7f34458802277db | |
parent | 9f1183887e8de5cc85a039cf3dcc04cff9d4e9c0 (diff) |
Edit message a bityouki/fix-gcc9-build
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d06ec2..e665ab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,7 @@ set_target_properties(fbgemm_generic fbgemm_avx2 fbgemm_avx512 PROPERTIES if (NOT MSVC) # '-march=native' makes avx2 assembly generation fail on AVX512 CPUs with gcc 9.3+ if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.2) - message(WARNING "When built with gcc 9.3+, '-march=native' is disabled.") + message(WARNING "When built with gcc 9.3+, '-march=native' should be disabled.") target_compile_options(fbgemm_avx2 PRIVATE "-m64" "-mavx2" "-mfma" "-masm=intel" "-mf16c" "-march=x86-64") else() |