set(DIRS) | |
list(APPEND CXXFLAGS -Wno-deprecated) | |
list(APPEND CPPFLAGS -Wno-deprecated) | |
set(FP_TOLERANCE 0.00000001) | |
set(DIRS EH) | |
if("${ARCH}" STREQUAL "XCore") | |
if(NOT DEFINED SMALL_PROBLEM_SIZE) | |
set(XCORE_TARGET_NEEDS_MEMORY 256) | |
set(RUNTIMELIMIT 10800) | |
endif() | |
endif() | |
if(DEFINED BENCHMARKING_ONLY) | |
list(APPEND PROGRAMS_TO_SKIP hello reversefile spellcheck sumcol wc wordfreq) | |
endif() | |
list(APPEND LDFLAGS -lstdc++) | |
llvm_singlesource() | |
llvm_add_subdirectories(${DIRS}) |