From a8c270dbebd6e5a043d7637efe79cfffe409ada2 Mon Sep 17 00:00:00 2001 From: rafal-gorecki Date: Mon, 5 Feb 2024 19:07:22 +0100 Subject: [PATCH] test --- husarion_utils/CMakeList.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/husarion_utils/CMakeList.txt b/husarion_utils/CMakeList.txt index 6b51099..5355a03 100644 --- a/husarion_utils/CMakeList.txt +++ b/husarion_utils/CMakeList.txt @@ -48,21 +48,21 @@ check_cxx_compiler_flag("-msse4.2" COMPILER_SUPPORTS_SSE4) check_cxx_compiler_flag("-mavx2" COMPILER_SUPPORTS_AVX2) check_cxx_compiler_flag("-mfma" COMPILER_SUPPORTS_FMA) -if(COMPILER_SUPPORTS_AVX512) - add_compile_options(-mno-avx512f) -endif() - -if(COMPILER_SUPPORTS_SSE4) - add_compile_options(-msse4.2) -endif() - -if(COMPILER_SUPPORTS_AVX2) - add_compile_options(-mavx2) -endif() - -if(COMPILER_SUPPORTS_FMA) - add_compile_options(-mfma) -endif() +# if(COMPILER_SUPPORTS_AVX512) +# add_compile_options(-mno-avx512f) +# endif() +# +# if(COMPILER_SUPPORTS_SSE4) +# add_compile_options(-msse4.2) +# endif() +# +# if(COMPILER_SUPPORTS_AVX2) +# add_compile_options(-mavx2) +# endif() +# +# if(COMPILER_SUPPORTS_FMA) +# add_compile_options(-mfma) +# endif() # If building one the same hardware to be deployed on, try `-march=native`! # add_compile_options(-O3 -finline-limit=10000000 -ffp-contract=fast -ffast-math -mtune=generic)