Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Ionic Ubuntu from-source: memory warning and colcon quoting #494

Merged
merged 5 commits into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions ionic/install_ubuntu_src.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,23 @@ colcon graph
If that is the case, then you are ready
to build the whole set of libraries:

:::{warning}

Compilation can take up to 16Gb of RAM memory. Use MAKEFLAGS with
colcon as detailed in its instructions to reduce the number of
compilation threads if needed.

:::


```bash
colcon build --merge-install
```

To speed up the build process, you could also disable tests by using

```bash
colcon build --cmake-args -DBUILD_TESTING=OFF --merge-install
colcon build --cmake-args ' -DBUILD_TESTING=OFF' --merge-install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is necessary on Ubuntu, but okay.

```

To use debuggers activate debug symbols. Gazebo will run slower, but you'll be able to use GDB:
Expand Down Expand Up @@ -213,7 +222,7 @@ To perform QML debugging you'll need:
You will need to build Gazebo with:

```bash
colcon build --cmake-args -DQT_QML_DEBUG --merge-install
colcon build --cmake-args ' -DQT_QML_DEBUG' --merge-install
```

> **Note:** Advanced users may note that only the `gz-sim` project needs this flag.
Expand Down
Loading