Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Install LLVM dependencies
shell: cmd /C call {0}
run: |
conda install -c conda-forge llvmdev cmake ninja zlib
conda install -c conda-forge llvmdev cmake ninja zlib libxml2-devel
- name: Install TVM
shell: cmd /C call {0}
run: |
Expand Down
4 changes: 4 additions & 0 deletions cmake/utils/FindLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ macro(find_llvm use_llvm)
# If the library file ends in .lib try to also search the llvm_libdir
message(STATUS "LLVM linker flag under LLVM libdir: ${__llvm_libdir}/${__flag}")
list(APPEND LLVM_LIBS "${__llvm_libdir}/${__flag}")
elseif((__flag MATCHES ".lib$") AND (EXISTS "${__llvm_libdir}/lib${__flag}"))
# If the library file ends in .lib try to also search the llvm_libdir with lib prefix
message(STATUS "LLVM linker flag under LLVM libdir: ${__llvm_libdir}/lib${__flag}")
list(APPEND LLVM_LIBS "${__llvm_libdir}/lib${__flag}")
else()
message(STATUS "LLVM linker flag: ${__flag}")
list(APPEND LLVM_LIBS "${__flag}")
Expand Down
1 change: 1 addition & 0 deletions conda/build-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ dependencies:
- numpy
- scipy
- cython
- libxml2-devel
Loading