Browse Source

remove the -mfma flag in when the host has AVX.

tags/v0.3.13^2
Qiyu8 5 years ago
parent
commit
b00a0de132
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/system.cmake

+ 1
- 1
cmake/system.cmake View File

@@ -174,7 +174,7 @@ if (DEFINED TARGET)
endif()
if (DEFINED HAVE_AVX)
if (NOT NO_AVX)
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx -mfma")
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx")
endif()
endif()
if (DEFINED HAVE_AVX2)


Loading…
Cancel
Save