summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-03-31 00:03:43 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-03-31 00:03:43 +0000
commit430563195fda65aa5394836e73501ff1e234658b (patch)
tree4646689d635dfbca9b525c290a76032230f5efbb /llvm
parentf6d661eabdc821fe187a299a24637dd005cd2795 (diff)
downloadbcm5719-llvm-430563195fda65aa5394836e73501ff1e234658b.tar.gz
bcm5719-llvm-430563195fda65aa5394836e73501ff1e234658b.zip
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' llvm-svn: 233647
Diffstat (limited to 'llvm')
-rw-r--r--llvm/examples/ExceptionDemo/CMakeLists.txt2
-rw-r--r--llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt2
-rw-r--r--llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt2
3 files changed, 6 insertions, 0 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt
index 0908892a16c..f1715be4156 100644
--- a/llvm/examples/ExceptionDemo/CMakeLists.txt
+++ b/llvm/examples/ExceptionDemo/CMakeLists.txt
@@ -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
)
diff --git a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
index dd181471be1..9a6f14da2c8 100644
--- a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
@@ -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
)
diff --git a/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
index 6491599770b..a8b8daf615f 100644
--- a/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
@@ -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
)
OpenPOWER on IntegriCloud