I succesfully checked-out llvm (v12) project and built llvm+clang invoking:
cmake -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" ../llvm make chec