Building with older versions of cmake result in this error.
Error Message:
CMake Error at /src/llvm-project/libc/CMakeLists.txt:5 (cmake_policy): Policy "CMP0076" is not known to this version of CMake.
The set policy statement must be guarded as described here.
Example of existing cmake policy guarding in llvm.
The policy used here was introduced in version 3.13 after the minimum version supported by llvm which is 3.4.3.