While updating cmake version to 3.17.0 (from 3.14.5) , root master (commit 73ae672 ) failed to build. This happens when we use " -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TYPE=Release " [a]. If we set both types to "Debug" then it works.
Any idea why it start failing now with cmake 3.17.0? Could this be fixed so that we can set "CMAKE_BUILD_TYPE=Release"
> cmake ../root-6.21.01 -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TYPE=Release
> ninja -v -j 16 -l 16
ninja: error: 'cmake_object_order_depends_target_LLVMAnalysis_Debug', needed by 'cmake_object_order_depends_target_Cling_Debug', missing and no known rule to make it
error: Bad exit status from /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/rpm-tmp.8qHY6g (%build)