[all-commits] [llvm/llvm-project] 23eced: Convert the error to warning for enabling OMPD in ...

vigbalu via All-commits all-commits at lists.llvm.org
Tue Jul 27 04:56:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23eced9ead21c4282cc68c1e93016ad4433a12d6
      https://github.com/llvm/llvm-project/commit/23eced9ead21c4282cc68c1e93016ad4433a12d6
  Author: Vignesh Balasubramanian <Vignesh.Balasubrmanian at amd.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M openmp/runtime/CMakeLists.txt

  Log Message:
  -----------
  Convert the error to warning for enabling OMPD in non-Linux platform

OMPD is enabled by default on Linux machines and disabled on others.
However, if explicitly enabled it throws an error and exit while configuring.

It is mentioned in Bug: https://bugs.llvm.org/show_bug.cgi?id=51121

This patch, instead of throwing error, disables OMPD support with a warning message,
so configuration can continue.

Reviewed By: @protze.joachim
Differential Revision: https://reviews.llvm.org/D106682




More information about the All-commits mailing list