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 running colcon build --parallel-workers 1 on cpp code the number of compiler threads is not 1.
To have the "expected" behaviour I should run instead
As far as I know, that is the expected behaviour with colcon. --parallel-workers controls the number of "jobs" (i.e., packages in this case) being built in parallel, but then each package itself may or may not be built in parallel using multiple threads. That part depends on the underlying built system, e.g., CMake. As you've found, using the MAKEFLAGS environment variable is the proper way to control this for CMake packages.
When running
colcon build --parallel-workers 1
on cpp code the number of compiler threads is not 1.To have the "expected" behaviour I should run instead
Is this behaviour intended?
Is it possible to cite this fact directly in the colcon documentation?
Thank you very much!
The text was updated successfully, but these errors were encountered: