[llvm-commits] [llvm] r79219 - in /llvm/trunk: cmake/modules/LLVMConfig.cmake examples/Kaleidoscope/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Sun Aug 16 18:41:46 PDT 2009
Author: ofv
Date: Sun Aug 16 20:41:46 2009
New Revision: 79219
URL: http://llvm.org/viewvc/llvm-project?rev=79219&view=rev
Log:
CMake: LLVMConfig assigns LLVMX86 to the `native' component
name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope.
Modified:
llvm/trunk/cmake/modules/LLVMConfig.cmake
llvm/trunk/examples/Kaleidoscope/CMakeLists.txt
Modified: llvm/trunk/cmake/modules/LLVMConfig.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMConfig.cmake?rev=79219&r1=79218&r2=79219&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMConfig.cmake (original)
+++ llvm/trunk/cmake/modules/LLVMConfig.cmake Sun Aug 16 20:41:46 2009
@@ -59,8 +59,8 @@
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")
Modified: llvm/trunk/examples/Kaleidoscope/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/CMakeLists.txt?rev=79219&r1=79218&r2=79219&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/CMakeLists.txt (original)
+++ llvm/trunk/examples/Kaleidoscope/CMakeLists.txt Sun Aug 16 20:41:46 2009
@@ -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
More information about the llvm-commits
mailing list