[llvm] r354389 - Fix builds with llvm/runtimes/compiler-rt after r354365
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 19 14:02:40 PST 2019
Author: dsanders
Date: Tue Feb 19 14:02:38 2019
New Revision: 354389
URL: http://llvm.org/viewvc/llvm-project?rev=354389&view=rev
Log:
Fix builds with llvm/runtimes/compiler-rt after r354365
Compiler-rt doesn't include config-ix which was providing CheckSymbolExists to
the LLVM build. Add it to HandleLLVMOptions to fix this
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=354389&r1=354388&r2=354389&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Tue Feb 19 14:02:38 2019
@@ -10,6 +10,7 @@ include(CheckCompilerVersion)
include(HandleLLVMStdlib)
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
+include(CheckSymbolExists)
if(CMAKE_LINKER MATCHES "lld-link\.exe" OR (WIN32 AND LLVM_USE_LINKER STREQUAL "lld") OR LLVM_ENABLE_LLD)
set(LINKER_IS_LLD_LINK TRUE)
More information about the llvm-commits
mailing list