1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/cmake
Daniel Sanders 3812992d9b Break false dependencies on target libraries
Summary:
For the most part this consists of replacing ${LLVM_TARGETS_TO_BUILD} with
some combination of AllTargets* so that they depend on specific components
of a target backend rather than all of it. The overall effect of this is
that, for example, tools like opt no longer falsely depend on the
disassembler, while tools like llvm-ar no longer depend on the code
generator.

There's a couple quirks to point out here:
* AllTargetsCodeGens is a bit more prevalent than expected. Tools like dsymutil
  seem to need it which I was surprised by.
* llvm-xray linked to all the backends but doesn't seem to need any of them.
  It builds and passes the tests so that seems to be correct.
* I left gold out as it's not built when binutils is not available so I'm
  unable to test it

Reviewers: bogner, JDevlieghere

Reviewed By: bogner

Subscribers: mehdi_amini, mgorny, steven_wu, dexonsmith, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62331

llvm-svn: 361567
2019-05-23 23:02:56 +00:00
..
modules Break false dependencies on target libraries 2019-05-23 23:02:56 +00:00
platforms [NFC][CMake] Improve Status message in the iOS toolchain file 2019-03-13 15:35:21 +00:00
config-ix.cmake [cmake] When getting Ninja version, don't include CMakeNinjaFindMake 2019-05-23 15:03:22 +00:00
config.guess Remove Bitrig: LLVM Changes 2017-07-21 22:48:47 +00:00
dummy.cpp [CMake] Fix Xcode build with LLVM_ENABLE_OBJLIB. 2015-09-10 17:18:51 +00:00
nsis_icon.ico
nsis_logo.bmp
README

See docs/CMake.html for instructions on how to build LLVM with CMake.