This follows what ClangBuilder does (getClangCMakeBuildFactory).
Use it to set cmake to 3.17.0 on all hexagon builders.
Could you elaborate why do you need to parametrize the cmake command, please?
Do you plan running multiple versions of cmake on the same buildbot simultaniously?
Why just updating cmake on your bots is not anough and zorg changes are required?
This is because the latest cmake was installed by hand in a non-standard location. There are no Ubuntu packages with the new cmake available for the version running on the bots (15.04).
Also, the clang factory did already accept cmake command as an argument, I thought that adding this to the other factories would make things consistent.
Any problems with making that new cmake be executed by default? Like adding it to the PATH or by using alternatives. This is something specific to that computer configuration, not to the build configuration.
Also, the clang factory did already accept cmake command as an argument,
That’s a legacy and was introduced for different purposes. It is just waiting for the next round of refactoring to be removed.