llvm/examples: Suppress building a few JIT examples.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 31 Mar 2015 00:03:43 +0000 (00:03 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 31 Mar 2015 00:03:43 +0000 (00:03 +0000)
  examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/ExceptionDemo.cpp.o:(.data.rel.ro._ZTIN4llvm18MCJITMemoryManagerE[_ZTIN4llvm18MCJITMemoryManagerE]+0x10): undefined reference to `typeinfo for llvm::RuntimeDyld::MemoryManager'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233647 91177308-0d34-0410-b5e6-96231b3b80d8

examples/ExceptionDemo/CMakeLists.txt
examples/Kaleidoscope/Chapter7/CMakeLists.txt
examples/Kaleidoscope/Chapter8/CMakeLists.txt

index 0908892..f1715be 100644 (file)
@@ -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
   )
index dd18147..9a6f14d 100644 (file)
@@ -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
   )
index 6491599..a8b8daf 100644 (file)
@@ -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
   )