I have tried many times to build TVM with LLVM but always failed.
I did follow the instructions to build,downloaded pre-built version of LLVM(8.0.0).
Then I modify build/config.cmake to add set(USE_LLVM ON).
But when I input this command: cmake -G “Visual Studio 15 2017 Win64” -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=“Release” …
it says can’t find file llvm-config.
Could not find a package configuration file provided by “LLVM” with any of
the following names:
Add the installation prefix of “LLVM” to CMAKE_PREFIX_PATH or set
“LLVM_DIR” to a directory containing one of the above files. If “LLVM”
provides a separate development package or SDK, be sure it has been
Call Stack (most recent call first):
– Configuring incomplete, errors occurred!
I have no idea how to fix it. If someone knows about it please give me a reply,thank you!