Skip to content

Commit 75f4508

Browse files
Build as release (#6785) (#6786)
If you would have followed these instructions before, you would have ended up with a release build. This is especially not obvious to newcomers to ros2. As this behavior differs from the deb installation (which is a release build) the source installation now also generates a release build to align both installation paths. (cherry picked from commit 21bd2b5) Signed-off-by: Janosch Machowinski <jmachowinski@users.noreply.github.com> Co-authored-by: Janosch Machowinski <jmachowinski@users.noreply.github.com>
1 parent 7873818 commit 75f4508

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

source/Installation/Alternatives/Ubuntu-Development-Setup.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ Install additional RMW implementations (optional)
8686
The default middleware that ROS 2 uses is ``Fast DDS``, but the middleware (RMW) can be replaced at build or runtime.
8787
See the :doc:`guide <../../How-To-Guides/Working-with-multiple-RMW-implementations>` on how to work with multiple RMWs.
8888

89+
Install colcon mixins
90+
^^^^^^^^^^^^^^^^^^^^^
91+
92+
.. code-block:: console
93+
94+
$ colcon mixin add default https://github.com/colcon/colcon-defaults/raw/master/index.yaml
95+
$ colcon mixin update default
96+
8997
Build the code in the workspace
9098
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9199

@@ -99,7 +107,7 @@ More info on working with a ROS workspace can be found in :doc:`this tutorial <.
99107
.. code-block:: console
100108
101109
$ cd ~/ros2_{DISTRO}/
102-
$ colcon build --symlink-install
110+
$ colcon build --symlink-install --mixin release
103111
104112
.. note::
105113

0 commit comments

Comments
 (0)