You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to limit the building threads with either colcon build --parallel-workers 2 or colcon build --executor sequential, the underlying make command is still called with the number of available threads.
In catkin build we had the --jobs and --parallel-packages parameters.
In colcon build the executor seems to be similar to the --parallel-packages parameter.
Desired behavior
--jobs parameter to catkin build
-j JOBS, --jobs JOBS Maximum number of build jobs to be distributed across active packages. (default is cpu count)
Possible workaround
Using export MAKEFLAGS="-j2" seems to limit the number of jobs per package
Other ideas are welcome, to the point of manually modifying the colcon_core/../build.py
The text was updated successfully, but these errors were encountered:
Issue
When trying to limit the building threads with either
colcon build --parallel-workers 2
orcolcon build --executor sequential
, the underlyingmake
command is still called with the number of available threads.In
catkin build
we had the--jobs
and--parallel-packages
parameters.In
colcon build
the executor seems to be similar to the--parallel-packages
parameter.Desired behavior
--jobs
parameter tocatkin build
Possible workaround
Using
export MAKEFLAGS="-j2"
seems to limit the number of jobs per packageOther ideas are welcome, to the point of manually modifying the colcon_core/../build.py
The text was updated successfully, but these errors were encountered: