Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Feb 5, 2024
1 parent a8c270d commit 294ba41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions husarion_utils/CMakeList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 294ba41

Please sign in to comment.