projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-reapply "[IR] Move optional data in llvm::Function into a hungoff uselist"
[oota-llvm.git]
/
examples
/
CMakeLists.txt
diff --git
a/examples/CMakeLists.txt
b/examples/CMakeLists.txt
index c5b80793e0b5919b76289b78081fd59f3a99be33..5727066d6227b37e3615a9bc057a9cbf703322ca 100644
(file)
--- a/
examples/CMakeLists.txt
+++ b/
examples/CMakeLists.txt
@@
-4,8
+4,9
@@
add_subdirectory(HowToUseJIT)
add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
-include(CheckIncludeFile)
-check_include_file(pthread.h HAVE_PTHREAD_H)
+if(LLVM_ENABLE_EH AND (NOT WIN32) AND (NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM"))
+ add_subdirectory(ExceptionDemo)
+endif()
if( HAVE_PTHREAD_H )
add_subdirectory(ParallelJIT)
if( HAVE_PTHREAD_H )
add_subdirectory(ParallelJIT)