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:
816e9d8
)
[ORC] Add dependence on pthreads library to ORC.
author
Lang Hames
<lhames@gmail.com>
Mon, 11 Oct 2021 02:32:54 +0000
(19:32 -0700)
committer
Lang Hames
<lhames@gmail.com>
Mon, 11 Oct 2021 02:34:34 +0000
(19:34 -0700)
f3411616896
introduced a dependence (for builds with LLVM_ENABLE_THREADS) on
pthreads. This commit updates the CMakeLists.txt file to include a LINK_LIBS
entry for pthreads.
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
b/llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
index
390cfe6
..
7e9180c
100644
(file)
--- a/
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
+++ b/
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
@@
-40,6
+40,9
@@
add_llvm_component_library(LLVMOrcJIT
DEPENDS
intrinsics_gen
+ LINK_LIBS
+ ${LLVM_PTHREAD_LIB}
+
LINK_COMPONENTS
Core
ExecutionEngine