aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-01-20 12:33:29 +0100
committerGitHub <noreply@github.com>2025-01-20 12:33:29 +0100
commit2d6d476ffbfc207aae2bf9f12be14483b31d100a (patch)
tree2130c991a50de4f8e5d2cbf2b9d3c274eaa113e2 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent4d21096c207847463a0253e0876c95c92e74adc3 (diff)
downloadllvm-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