summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-01-16 20:44:36 +0000
committerNico Weber <nicolasweber@gmx.de>2019-01-16 20:44:36 +0000
commit43aad9cc328e8ce8485d83b2b2a8adf629b88ef1 (patch)
treebab2070a91e1d1cceb779ed77f3bf6cbcaf98abb
parente5653be62a8019a1e02b931be42536344aeacd0e (diff)
downloadbcm5719-llvm-43aad9cc328e8ce8485d83b2b2a8adf629b88ef1.tar.gz
bcm5719-llvm-43aad9cc328e8ce8485d83b2b2a8adf629b88ef1.zip
Fix most of LLVM's tests with LLVM_ENABLE_PIC=OFF
Lots of tests rely on llvm-lto being present, but LLVM_ENABLE_PIC=OFF currently disables building that executable. There's no reason for not building llvm-lto with LLVM_ENABLE_PIC=OFF so just build it. r191042 moved it into a "if (!WIN)" block at the time, and then 211852 made that "if(NOT CYGWIN AND LLVM_ENABLE_PIC)" -- but that's only needed for LTO (the ld64 plugin), not for the llvm-lto binary. Differential Revision: https://reviews.llvm.org/D56801 llvm-svn: 351374
-rw-r--r--llvm/tools/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt
index ddafc98d63b..6084b3befa4 100644
--- a/llvm/tools/CMakeLists.txt
+++ b/llvm/tools/CMakeLists.txt
@@ -27,7 +27,6 @@ endif()
if(CYGWIN OR NOT LLVM_ENABLE_PIC)
set(LLVM_TOOL_LTO_BUILD Off)
- set(LLVM_TOOL_LLVM_LTO_BUILD Off)
endif()
# Add LTO, llvm-ar, llvm-config, and llvm-profdata before clang, ExternalProject
OpenPOWER on IntegriCloud