diff options
author | Michał Górny <mgorny@moritz.systems> | 2022-07-20 12:28:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2022-07-20 22:17:48 +0200 |
commit | 2ac7b142b12f66ce91c98177f8d7d942ed4cc94c (patch) | |
tree | b19ce679364a80e186e99b68ab9d8f7c37a64028 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 761e2a3abca9ea00118c4a1bcac64e40ff9d4257 (diff) | |
download | llvm-2ac7b142b12f66ce91c98177f8d7d942ed4cc94c.zip llvm-2ac7b142b12f66ce91c98177f8d7d942ed4cc94c.tar.gz llvm-2ac7b142b12f66ce91c98177f8d7d942ed4cc94c.tar.bz2 |
[llvm] [cmake] Skip driver-related code unless LLVM_TOOL_LLVM_DRIVER_BUILD
Disable the code responsible for preparing object libraries
for the driver and filling LLVM_DRIVER_* properties
if LLVM_TOOL_LLVM_DRIVER_BUILD is disabled. These properties are
consumed only by tools/llvm-driver, and so they are not used at all
if LLVM_TOOL_LLVM_DRIVER_BUILD is not enabled. At the same time,
the related code breaks standalone clang builds against LLVM built
with LLVM_LINK_LLVM_DYLIB.
Differential Revision: https://reviews.llvm.org/D130158
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions