diff options
author | Martin Storsjö <martin@martin.st> | 2021-11-17 15:06:15 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-12-07 22:23:50 +0200 |
commit | db32c4f45625dddc2c5cb683adf3d9cab7a9732f (patch) | |
tree | 119b588b23edd4c1dcb9f2506c95375dcd10aebc /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 6116ff297f52c32fbe617c5dcea33c54c2c274ee (diff) | |
download | llvm-db32c4f45625dddc2c5cb683adf3d9cab7a9732f.zip llvm-db32c4f45625dddc2c5cb683adf3d9cab7a9732f.tar.gz llvm-db32c4f45625dddc2c5cb683adf3d9cab7a9732f.tar.bz2 |
[OpenMP] Disable libomptarget profiling by default if built via the "runtimes" setup
In the "runtimes" setup, the runtime (e.g. OpenMP) can be built for
a target entirely different from the current host build (where LLVM
and Clang are built). If profiling is enabled, libomptarget links
against LLVMSupport (which only has been built for the host).
Thus, don't enable profiling by default in this setup.
This should allow relanding D113253.
Differential Revision: https://reviews.llvm.org/D114083
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions