Patch https://reviews.llvm.org/D56329 caused build failures for me when building on Windows because of the use of cmake operator 'VERSION_GREATER_EQUAL' which isn't supported in older versions of cmake. The llvm website states that minimum required version of cmake for building llvm is 3.4.3 https://llvm.org/docs/CMake.html
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thank you for fixing this! Looks like VERSION_GREATER_EQUAL is there only since cmake 3.7. However the minimum required cmake for LLVM is about three years old. @rnk is it the cmake policy the same as for the compiler, that is, keep compatibility for at least three years?
Comment Actions
I think the answer is yes, we want about three years of cmake backwards compatibility. The goal of that is to make sure anyone can check out Linux in a random Linux distro from the last few years and they'll have a cmake version that works. Amusingly, developers on Windows and Mac tend to have more up-to-date developer tools, since they don't rely on a system package manager.