llvm.org GIT mirror llvm / 22624b1
CMake: LLVMConfig assigns LLVMX86 to the `native' component name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79219 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 10 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
5858 list(APPEND expanded_components "LLVM${c}Info")
5959 endif()
6060 elseif( c STREQUAL "native" )
61 # TODO: we assume ARCH is X86. In this case, we must use nativecodegen
62 # component instead. Do nothing, as in llvm-config script.
61 # TODO: we assume ARCH is X86.
62 list(APPEND expanded_components "LLVMX86CodeGen")
6363 elseif( c STREQUAL "nativecodegen" )
6464 # TODO: we assume ARCH is X86.
6565 list(APPEND expanded_components "LLVMX86CodeGen")
None set(LLVM_LINK_COMPONENTS core jit native)
0 set(LLVM_LINK_COMPONENTS core jit interpreter native)
11
22 add_llvm_example(Kaleidoscope
33 toy.cpp