Don't try to build ExceptionDemo on ARM.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 12 Feb 2014 21:47:15 +0000 (21:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 12 Feb 2014 21:47:15 +0000 (21:47 +0000)
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

examples/CMakeLists.txt

index 54ee6cc..f98c403 100644 (file)
@@ -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()