summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-12 21:47:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-12 21:47:15 +0000
commit4839a7de4b4ab932c25b67324b629cefa3b230cd (patch)
tree55f152c0ff35da6c8de846d399938006408a188f /examples
parent061a739395facc05c5e7dfb7b991dd6cd69ba503 (diff)
downloadllvm-4839a7de4b4ab932c25b67324b629cefa3b230cd.tar.gz
llvm-4839a7de4b4ab932c25b67324b629cefa3b230cd.tar.bz2
llvm-4839a7de4b4ab932c25b67324b629cefa3b230cd.tar.xz
Don't try to build ExceptionDemo on ARM.
The demo uses _Unwind_GetIP which is not available on that platform. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 54ee6cc3a3..f98c403deb 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -4,7 +4,7 @@ add_subdirectory(HowToUseJIT)
add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
-if( NOT WIN32 )
+if( ( NOT WIN32 ) AND ( NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM" ) )
add_subdirectory(ExceptionDemo)
endif()