The function get_multiarch() calls gcc using subprocess. gcc is hard coded, and does not check the CXX env variable. This breaks a lot of build environments, including conda-smithy which uses prefixed gcc executable, and sets CXX to the correct location. This will also break cross compilers that use prefixes.
The function
get_multiarch()
calls gcc using subprocess.gcc
is hard coded, and does not check theCXX
env variable. This breaks a lot of build environments, including conda-smithy which uses prefixed gcc executable, and setsCXX
to the correct location. This will also break cross compilers that use prefixes.https://github.com/colcon/colcon-ros/blob/eb0b932cf7b1f3f5a720804e67f3c1a0f8995ca8/colcon_ros/task/cmake/__init__.py#L46