[PATCH] D29555: [CMake] Fix pthread handling for out-of-tree builds
Eric Fiselier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 15:59:38 PST 2017
EricWF updated this revision to Diff 87539.
EricWF added a comment.
Address @mgorny's comments and don't set `CMAKE_THREAD_PREFER_PTHREAD` and `THREADS_HAVE_PTHREAD_ARG` in `LLVMConfig`. These options are only needed during the initial configuration and should not be set when `LLVMConfig` is included by downstream users code.
https://reviews.llvm.org/D29555
Files:
cmake/config-ix.cmake
cmake/modules/AddLLVM.cmake
cmake/modules/LLVMConfig.cmake.in
examples/ParallelJIT/CMakeLists.txt
lib/CodeGen/CMakeLists.txt
lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
lib/Fuzzer/CMakeLists.txt
lib/Support/CMakeLists.txt
unittests/ExecutionEngine/Orc/CMakeLists.txt
unittests/Support/CMakeLists.txt
utils/unittest/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29555.87539.patch
Type: text/x-patch
Size: 5648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/2b19b80e/attachment.bin>
More information about the llvm-commits
mailing list