Skip to content
Snippets Groups Projects
Commit 99119fa2 authored by Tianqi Chen's avatar Tianqi Chen Committed by GitHub
Browse files

[CMAKE] Fix cmake build (#520)

parent 338bfd45
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,7 @@ if(USE_LLVM)
message(STATUS "Build with LLVM " ${LLVM_PACKAGE_VERSION})
message(STATUS "Set TVM_LLVM_VERSION=" ${TVM_LLVM_VERSION})
add_definitions(-DTVM_LLVM_VERSION=${TVM_LLVM_VERSION})
add_definitions(-DDMLC_USE_FOPEN64=0)
llvm_map_components_to_libnames(LLVM_LIBS all)
list(REMOVE_ITEM LLVM_LIBS LTO)
list(APPEND TVM_LINKER_LIBS ${LLVM_LIBS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment