[llvm] r201261 - Don't try to build ExceptionDemo on ARM.

Rafael Espindola rafael.espindola at gmail.com
Wed Feb 12 13:47:15 PST 2014


Author: rafael
Date: Wed Feb 12 15:47:15 2014
New Revision: 201261

URL: http://llvm.org/viewvc/llvm-project?rev=201261&view=rev
Log:
Don't try to build ExceptionDemo on ARM.

The demo uses _Unwind_GetIP which is not available on that platform.

Modified:
    llvm/trunk/examples/CMakeLists.txt

Modified: llvm/trunk/examples/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/CMakeLists.txt?rev=201261&r1=201260&r2=201261&view=diff
==============================================================================
--- llvm/trunk/examples/CMakeLists.txt (original)
+++ llvm/trunk/examples/CMakeLists.txt Wed Feb 12 15:47:15 2014
@@ -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()
 





More information about the llvm-commits mailing list