Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
setup: improve FastRTPS install command
Browse files Browse the repository at this point in the history
This way we abort on error and don't end up in a directory if something
fails.
  • Loading branch information
julianoes authored and TSC21 committed Jan 1, 2019
1 parent de42eed commit f59b6a5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions en/setup/dev_env_linux_ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,8 @@ tar -xzf requiredcomponents/eProsima_FastCDR-1.0.7-Linux.tar.gz
> **Note** In the following lines where we compile the FastCDR and FastRTPS libraries, the `make` command is issued with the `-j2` option. This option defines the number of parallel threads (or `j`obs) that are used to compile the source code. Change `-j2` to `-j<number_of_cpu_cores_in_your_system>` to speed up the compilation of the libraries.
```sh
cd eProsima_FastCDR-1.0.7-Linux; ./configure --libdir=/usr/lib; make -j2; sudo make install
cd ..
cd eProsima_FastRTPS-1.5.0-Linux; ./configure --libdir=/usr/lib; make -j2; sudo make install
cd ..
(cd eProsima_FastCDR-1.0.7-Linux && ./configure --libdir=/usr/lib && make -j2 && sudo make install)
(cd eProsima_FastRTPS-1.5.0-Linux && ./configure --libdir=/usr/lib && make -j2 && sudo make install)
rm -rf requiredcomponents eprosima_fastrtps-1-5-0-linux.tar.gz
```

Expand Down

0 comments on commit f59b6a5

Please sign in to comment.