From 94ab65d591e239a8acb9946a6b2eef9bfc16a797 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Mon, 5 Nov 2018 04:13:33 +0000 Subject: [PATCH] disable avx2 and avx512 flag test=develop --- cmake/configure.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmake/configure.cmake b/cmake/configure.cmake index e9852f00b18..7f5771e561f 100644 --- a/cmake/configure.cmake +++ b/cmake/configure.cmake @@ -50,11 +50,7 @@ if(NOT WITH_PROFILER) endif(NOT WITH_PROFILER) if(NOT CMAKE_CROSSCOMPILING) - if(WITH_AVX AND AVX512F_FOUND) - set(SIMD_FLAG ${AVX512F_FLAG}) - elseif(WITH_AVX AND AVX2_FOUND) - set(SIMD_FLAG ${AVX2_FLAG}) - elseif(WITH_AVX AND AVX_FOUND) + if(WITH_AVX AND AVX_FOUND) set(SIMD_FLAG ${AVX_FLAG}) elseif(SSE3_FOUND) set(SIMD_FLAG ${SSE3_FLAG}) -- GitLab