diff options
author | Nikita Popov <npopov@redhat.com> | 2025-01-20 12:33:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 12:33:29 +0100 |
commit | 2d6d476ffbfc207aae2bf9f12be14483b31d100a (patch) | |
tree | 2130c991a50de4f8e5d2cbf2b9d3c274eaa113e2 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 4d21096c207847463a0253e0876c95c92e74adc3 (diff) | |
download | llvm-2d6d476ffbfc207aae2bf9f12be14483b31d100a.zip llvm-2d6d476ffbfc207aae2bf9f12be14483b31d100a.tar.gz llvm-2d6d476ffbfc207aae2bf9f12be14483b31d100a.tar.bz2 |
[Polly][CMake] Fix exports (#122123)
If Polly is built with LLVM_POLLY_LINK_INTO_TOOLS=ON (the default for
monorepo builds), then Polly will become a dependency of the
LLVMExtensions component, which is part of LLVMExports. As such, all the
Polly libraries also have to be part of LLVMExports.
However, if Polly is built with LLVM_POLLY_LINK_INTO_TOOLS=OFF, we also
end up adding Polly libraries to LLVMExports. This is undesirable, as it
adds a hard dependency from llvm on polly.
Fix this by only exporting polly libraries from LLVMExports if
LLVM_POLLY_LINK_INTO_TOOLS is enabled.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions