Cmake TVM error

I use cmake to build tvm, but I don’t know what to do with the error. /mnt/TVM/tvm/src/target/llvm/codegen_llvm.cc: In member function ‘llvm::Value* tvm::codegen::CodeGenLLVM::CreateBroadcast(llvm::Value*, int)’: /mnt/TVM/tvm/src/target/llvm/codegen_llvm.cc:480:69: error: ‘llvm::ElementCount::ElementCount(unsigned int, bool)’ is private within this context llvm::ConstantVector::getSplat(llvm::ElementCount(lanes, false), zero); ^ In file included from /usr/include/llvm-12/llvm/IR/Type.h:24:0, from /usr/include/llvm-12/llvm/IR/DerivedTypes.h:23, from /usr/include/llvm-12/llvm/IR/Constants.h:31, from /usr/include/llvm-12/llvm/IR/Operator.h:19, from /usr/include/llvm-12/llvm/Analysis/TargetTransformInfo.h:24, from /mnt/TVM/tvm/src/target/llvm/llvm_common.h:33, from /mnt/TVM/tvm/src/target/llvm/codegen_llvm.h:49, from /mnt/TVM/tvm/src/target/llvm/codegen_llvm.cc:25:

llvm version:12 cmake version:3.10

I have a PR with a fix, but CI is momentarily broken: https://github.com/apache/incubator-tvm/pull/6717