[all-commits] [llvm/llvm-project] cb3a89: [OpenMP] Check for gtest when building libomptarge...

Ethan Luis McDonough via All-commits all-commits at lists.llvm.org
Thu Dec 21 02:00:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb3a8934365c11ab23c918b44985f5a2f287acb1
      https://github.com/llvm/llvm-project/commit/cb3a8934365c11ab23c918b44985f5a2f287acb1
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M openmp/libomptarget/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP] Check for gtest when building libomptarget unit tests (#76141)

This patch addresses an issue introduced in pull request #74398. CMake
will attempt to re-build gtest if openmp is enabled as a project (as
opposed to being enabled as a runtime). This patch adds a check that
prevents this from happening.




More information about the All-commits mailing list