From 294ba41d4baddeb155207bd4c0be76e536a4d471 Mon Sep 17 00:00:00 2001 From: rafal-gorecki Date: Mon, 5 Feb 2024 19:55:51 +0100 Subject: [PATCH] test --- Dockerfile | 2 +- husarion_utils/CMakeList.txt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index b425a23..93cd9a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN MYDISTRO=${PREFIX:-ros}; MYDISTRO=${MYDISTRO//-/} && \ rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y && \ # Build mv /husarion_utils/CMakeList.txt src/nav2_mppi_controller/CMakeList.txt && \ - colcon build --event-handlers console_direct+ --cmake-args -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release && \ + colcon build --event-handlers console_direct+ --cmake-args -DBUILD_TESTING=OFF && \ # Save version echo $(dpkg -s ros-$ROS_DISTRO-navigation2 | grep 'Version' | sed -r 's/Version:\s([0-9]+.[0-9]+.[0-9]+).*/\1/g') > /version.txt && \ # Size optimalization diff --git a/husarion_utils/CMakeList.txt b/husarion_utils/CMakeList.txt index 5355a03..38c23bb 100644 --- a/husarion_utils/CMakeList.txt +++ b/husarion_utils/CMakeList.txt @@ -41,12 +41,12 @@ endforeach() nav2_package() -include(CheckCXXCompilerFlag) +# include(CheckCXXCompilerFlag) -check_cxx_compiler_flag("-mno-avx512f" COMPILER_SUPPORTS_AVX512) -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) +# check_cxx_compiler_flag("-mno-avx512f" COMPILER_SUPPORTS_AVX512) +# 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)