projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d00c9
)
[compiler-rt] Let CMake search for thread support
author
Jonas Hahnfeld
<hahnjo@hahnjo.de>
Fri, 15 Feb 2019 16:27:52 +0000
(16:27 +0000)
committer
Jonas Hahnfeld
<hahnjo@hahnjo.de>
Fri, 15 Feb 2019 16:27:52 +0000
(16:27 +0000)
This is an educated guess to fix sanitizer-x86_64-linux after r354132.
llvm-svn: 354143
compiler-rt/cmake/config-ix.cmake
patch
|
blob
|
history
diff --git
a/compiler-rt/cmake/config-ix.cmake
b/compiler-rt/cmake/config-ix.cmake
index
90192f7
..
a89ae7f
100644
(file)
--- a/
compiler-rt/cmake/config-ix.cmake
+++ b/
compiler-rt/cmake/config-ix.cmake
@@
-120,6
+120,8
@@
check_library_exists(m pow "" COMPILER_RT_HAS_LIBM)
check_library_exists(pthread pthread_create "" COMPILER_RT_HAS_LIBPTHREAD)
check_library_exists(execinfo backtrace "" COMPILER_RT_HAS_LIBEXECINFO)
+find_package(Threads)
+
# Look for terminfo library, used in unittests that depend on LLVMSupport.
if(LLVM_ENABLE_TERMINFO)
foreach(library terminfo tinfo curses ncurses ncursesw)