aboutsummaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-09-19 22:29:56 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-09-19 22:29:56 +0000
commit24e356b7c01e89b98cd663ed3f3148126096713b (patch)
tree81ece31553cbe3ed5b203fe7ba7bbb6eaed10003 /cmake/config-ix.cmake
parentdacd48db008416d0ea39bceadcd26a9bfbb98d19 (diff)
Revert "[XRay][compiler-rt] FDRLogWriter Abstraction" and 1 more.
Revert the following 2 commits to fix standalone compiler-rt build: * r342523 [XRay] Detect terminfo library * r342518 [XRay][compiler-rt] FDRLogWriter Abstraction git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@342596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index cffca9805..1c60c3d03 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -105,20 +105,6 @@ check_library_exists(dl dlopen "" COMPILER_RT_HAS_LIBDL)
check_library_exists(rt shm_open "" COMPILER_RT_HAS_LIBRT)
check_library_exists(m pow "" COMPILER_RT_HAS_LIBM)
check_library_exists(pthread pthread_create "" COMPILER_RT_HAS_LIBPTHREAD)
-
-# Look for terminfo library, used in unittests that depend on LLVMSupport.
-if(LLVM_ENABLE_TERMINFO)
- foreach(library tinfo terminfo curses ncurses ncursesw)
- string(TOUPPER ${library} library_suffix)
- check_library_exists(
- ${library} setupterm "" COMPILER_RT_HAS_TERMINFO)
- if(COMPILER_RT_HAS_TERMINFO)
- set(COMPILER_RT_TERMINFO_LIB "${library}")
- break()
- endif()
- endforeach()
-endif()
-
if (ANDROID AND COMPILER_RT_HAS_LIBDL)
# Android's libstdc++ has a dependency on libdl.
list(APPEND CMAKE_REQUIRED_LIBRARIES dl)