RobotLocomotion / ros-drake-vendor

Maintainer scripts that package Drake in the ROS build farm
Other
1 stars 1 forks source link

ROS buildfarm uses ccache while Drake refuse to be built with it #9

Open j-rivero opened 4 months ago

j-rivero commented 4 months ago

Mainly with issues described and linked to https://github.com/RobotLocomotion/drake/issues/4464, current Drake version 1.25.0 can not be built with ccache.

The ROS 2 buildfarm uses ccache binaries although the compilation artifacts sharing is not actually in use, so I we can probably workaround the problem by removing the ccache binaries from the build package process, see https://github.com/ros-infrastructure/ros_buildfarm/pull/1021.

jwnimmer-tri commented 4 months ago

I'm of course fine with avoiding installing packages that aren't used.

In case they ever do get installed again in the build farm, I think the work-around for Drake is as simple as removing /usr/lib/ccache from $PATH before running the Drake build step -- or at least before any CMakeLists.txt tries to find the compiler.

j-rivero commented 3 months ago

Pending fix in https://github.com/ros-infrastructure/ros_buildfarm/pull/1021