Kinetic Kame build very slow
I recently upgrade my machine from Ubuntu 14 to Ubuntu 16 and upgrade from ROS Jade to ROS Kinetic as well. I pulled my repository and built and every thing built just fine, tests seem to pass, however, the build is now about 5 times slower! Has anyone experienced this? Any idea what could be causing this and how to fix it?
Are you referring to the actual build (ie: compilation, linking), or the output of the build (ie: binaries)? If the former, see if deleting your
build
anddevel
folders clears things up. If the latter, have you set the sameCMAKE_BUILD_TYPE
?It is the former, the compilation and linking. Deleting the
build/
anddevel/
directories makes no difference. My build went from about 5 or 6 min to 30 min!That is strange indeed. Any particular pkgs that you notice it to have become much slower?
I've just noticed the same thing! My first guess is that there are a lot of new warnings when building against ROS Kinetic...
After some further testing, I should add that I am comparing the performance of (Ubuntu 16.04 + ROS Kinetic + Clang-3.8) with (Ubuntu 14.04 + ROS Jade + Clang-3.4) and seeing an individual package build time go from 40 seconds with Jade/etc to 65 seconds with Kinetic/etc.
Is this with
catkin_tools
orcatkin_make
?Catkin tools for me. Same version of catkin tools on both systems. Going to try with 'catkin_make' today.
Just curious if there would be a difference between the two.
That is a possibility. Running
catkin
in verbose mode on both distributions should allow us to see whether that is the case.