[llvm] r233647 - llvm/examples: Suppress building a few JIT examples.

NAKAMURA Takumi geek4civic at gmail.com
Mon Mar 30 17:03:44 PDT 2015


Author: chapuni
Date: Mon Mar 30 19:03:43 2015
New Revision: 233647

URL: http://llvm.org/viewvc/llvm-project?rev=233647&view=rev
Log:
llvm/examples: Suppress building a few JIT examples.

  examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/ExceptionDemo.cpp.o:(.data.rel.ro._ZTIN4llvm18MCJITMemoryManagerE[_ZTIN4llvm18MCJITMemoryManagerE]+0x10): undefined reference to `typeinfo for llvm::RuntimeDyld::MemoryManager'

Modified:
    llvm/trunk/examples/ExceptionDemo/CMakeLists.txt
    llvm/trunk/examples/Kaleidoscope/Chapter7/CMakeLists.txt
    llvm/trunk/examples/Kaleidoscope/Chapter8/CMakeLists.txt

Modified: llvm/trunk/examples/ExceptionDemo/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/ExceptionDemo/CMakeLists.txt?rev=233647&r1=233646&r2=233647&view=diff
==============================================================================
--- llvm/trunk/examples/ExceptionDemo/CMakeLists.txt (original)
+++ llvm/trunk/examples/ExceptionDemo/CMakeLists.txt Mon Mar 30 19:03:43 2015
@@ -12,6 +12,8 @@ set(LLVM_LINK_COMPONENTS
 set(LLVM_REQUIRES_EH 1)
 set(LLVM_REQUIRES_RTTI 1)
 
+set(EXCLUDE_FROM_ALL ON)
+
 add_llvm_example(ExceptionDemo
   ExceptionDemo.cpp
   )

Modified: llvm/trunk/examples/Kaleidoscope/Chapter7/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/Chapter7/CMakeLists.txt?rev=233647&r1=233646&r2=233647&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/Chapter7/CMakeLists.txt (original)
+++ llvm/trunk/examples/Kaleidoscope/Chapter7/CMakeLists.txt Mon Mar 30 19:03:43 2015
@@ -13,6 +13,8 @@ set(LLVM_LINK_COMPONENTS
 
 set(LLVM_REQUIRES_RTTI 1)
 
+set(EXCLUDE_FROM_ALL ON)
+
 add_kaleidoscope_chapter(Kaleidoscope-Ch7
   toy.cpp
   )

Modified: llvm/trunk/examples/Kaleidoscope/Chapter8/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/Chapter8/CMakeLists.txt?rev=233647&r1=233646&r2=233647&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/Chapter8/CMakeLists.txt (original)
+++ llvm/trunk/examples/Kaleidoscope/Chapter8/CMakeLists.txt Mon Mar 30 19:03:43 2015
@@ -9,6 +9,8 @@ set(LLVM_LINK_COMPONENTS
 
 set(LLVM_REQUIRES_RTTI 1)
 
+set(EXCLUDE_FROM_ALL ON)
+
 add_kaleidoscope_chapter(Kaleidoscope-Ch8
   toy.cpp
   )





More information about the llvm-commits mailing list