TVM 0.7 bf != nullptr: target.build.llvm is not enabled

I followed this tutorial to build from source Since I don’t need the AMDGPU, I followed this answer and I can successfully make. However, when I run such command in python

an error appeared.

File “/home/yzm18/zhanggh/apache-tvm-src-v0.7.0.rc0-incubating/src/target/codegen.cc”, line 58 TVMError: Check failed: bf != nullptr: target.build.llvm is not enable

The more weird thing is I don’t have a folder called “/home/yzm18/zhanggh/apache-tvm-src-v0.7.0.rc0-incubating” This is my CPU device info

processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 158 model name : Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz stepping : 12 microcode : 0xde cpu MHz : 4900.916 cache size : 12288 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 8 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes

llvm version is 10.0.0svn