colcon-parallel-executor is an extension for the colcon build tool, primarily used within the ROS ecosystem, to enable efficient parallel processing of packages during build, test, and install operations. It aims to maximize throughput by building independent packages concurrently. The current version is 0.4.0. Releases are typically tied to updates in the colcon ecosystem or bug fixes.
pip install colcon-parallel-executorNo compatibility data collected yet for this library.
To use the parallel executor, simply pass `--executor parallel` to your colcon command. This will instruct colcon to use this extension to build packages in parallel where possible based on their dependencies. Ensure `colcon-parallel-executor` is installed in the same environment as `colcon`.
Uninstall `colcon-concurrent-executor` and install `colcon-parallel-executor`. Update any scripts to use `--executor parallel` instead of `--executor concurrent`.
Always explicitly specify `--executor parallel` if you need to guarantee parallel execution across different `colcon-core` versions or environments. Otherwise, confirm your `colcon-core` default behavior.
Ensure `package.xml` or equivalent dependency declarations are accurate. If experiencing hangs or unexpected failures, try reducing parallelism (e.g., `--parallel-workers 1`) to debug, or consult package maintainers for parallelization best practices.
Ensure the package is installed: `pip install colcon-parallel-executor`. If using virtual environments, activate the correct environment before running `colcon`.
Try reducing the number of parallel workers (`colcon build --executor parallel --parallel-workers 2`). Monitor system resources (CPU, RAM). Review the logs of the last package that started building to identify potential issues or long-running tasks. Ensure package dependencies are correctly defined.
Upgrade both `colcon-core` and `colcon-parallel-executor` to their latest compatible versions: `pip install --upgrade colcon-core colcon-parallel-executor`. If the issue persists, report it to the `colcon-parallel-executor` GitHub repository.