Skip to content

Conversation

@junrushao
Copy link
Member

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'.

CC @lhutton1

PR apache#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'.
```
@junrushao junrushao marked this pull request as ready for review November 6, 2023 18:47
@lhutton1
Copy link
Contributor

lhutton1 commented Nov 7, 2023

Thanks for checking the windows build @junrushao!

binarybana pushed a commit to binarybana/tvm that referenced this pull request Nov 14, 2023
PR apache#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'.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants