Lunderberg opened a new pull request, #17283:
URL: https://github.com/apache/tvm/pull/17283
This is a workaround for an upstream LLVM issue [0], which looks to be
caused by the `CMAKE_INSTALL_LIBDIR` variable is used before definition. While
there is an LLVM PR to resolve this fix [1], as of 2024-08-19 it has not yet
been merged to LLVM.
This change is intended to resolve the following error, which occurs during
the CI build of TVM on Windows.
```
The system cannot find the file specified.
CMake Error at
C:/Miniconda/envs/tvm-build/conda-bld/tvm-package_1723747883202/_h_env/Library/lib/cmake/llvm/Findzstd.cmake:39
(string):
string sub-command REGEX, mode REPLACE: regex "$" matched an empty string.
Call Stack (most recent call first):
C:/Miniconda/envs/tvm-build/conda-bld/tvm-package_1723747883202/_h_env/Library/lib/cmake/llvm/LLVMConfig.cmake:277
(find_package)
cmake/utils/FindLLVM.cmake:47 (find_package)
cmake/modules/LLVM.cmake:31 (find_llvm)
CMakeLists.txt:565 (include)
```
[0] https://github.com/llvm/llvm-project/issues/83802
[1] https://github.com/llvm/llvm-project/pull/83807
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]