[all-commits] [llvm/llvm-project] db32c4: [OpenMP] Disable libomptarget profiling by default...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Dec 7 12:24:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db32c4f45625dddc2c5cb683adf3d9cab7a9732f
      https://github.com/llvm/llvm-project/commit/db32c4f45625dddc2c5cb683adf3d9cab7a9732f
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M openmp/CMakeLists.txt

  Log Message:
  -----------
  [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




More information about the All-commits mailing list