This commit is contained in:
Oleg Kalachev
2022-09-23 19:40:06 +03:00
parent b50207e5e9
commit d0fabd8b3e

View File

@@ -67,8 +67,9 @@ echo "--- Resolve dependencies"
rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro $ROS_DISTRO -y --os=debian:$VERSION_CODENAME --skip-keys="python3-catkin-pkg python3-catkin-pkg-modules python3-rosdep-modules"
echo "--- Build ROS"
# https://github.com/ros/catkin/issues/863#issuecomment-290392074
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release \
-DSETUPTOOLS_DEB_LAYOUT=OFF \ # https://github.com/ros/catkin/issues/863#issuecomment-290392074
-DSETUPTOOLS_DEB_LAYOUT=OFF \
--install-space=/opt/ros/$ROS_DISTRO
source ~/ros_catkin_ws/install_isolated/setup.bash