Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Broken Windows Build with LLVM
PR #16032 introduces a more stable way of zstd path finding by relying on LLVM's existing Findzstd module, but it turns out that the cmake dir from `llvm-config` is not very compatible with CMake's internal convention, and thus a conversion is required to get rid of the error message below: ``` -- Performing Test CMAKE_HAVE_LIBC_PTHREAD D:/a/package/package/tvm/build/CMakeFiles/CMakeScratch/TryCompile-tnlfb1/CMakeLists.txt:2 -- Configuring incomplete, errors occurred! when parsing string C:\Miniconda\envs\tlcpack-build\Library\lib\cmake\llvm Invalid character escape '\M'. ```
- Loading branch information