mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
CMake: LLVMConfig assigns LLVMX86 to the `native' component
name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. llvm-svn: 79219
This commit is contained in:
parent
3ca0a7b0e4
commit
6c2a9c40d7
@ -59,8 +59,8 @@ function(explicit_map_components_to_libraries out_libs)
|
||||
list(APPEND expanded_components "LLVM${c}Info")
|
||||
endif()
|
||||
elseif( c STREQUAL "native" )
|
||||
# TODO: we assume ARCH is X86. In this case, we must use nativecodegen
|
||||
# component instead. Do nothing, as in llvm-config script.
|
||||
# TODO: we assume ARCH is X86.
|
||||
list(APPEND expanded_components "LLVMX86CodeGen")
|
||||
elseif( c STREQUAL "nativecodegen" )
|
||||
# TODO: we assume ARCH is X86.
|
||||
list(APPEND expanded_components "LLVMX86CodeGen")
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(LLVM_LINK_COMPONENTS core jit native)
|
||||
set(LLVM_LINK_COMPONENTS core jit interpreter native)
|
||||
|
||||
add_llvm_example(Kaleidoscope
|
||||
toy.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user