[Openmp-commits] [PATCH] D131000: [OpenMP][libomp] Detect if test compiler has omp.h

Michael Kruse via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 2 15:42:37 PDT 2022


Meinersbur added a comment.

In D131000#3694319 <https://reviews.llvm.org/D131000#3694319>, @jlpeyton wrote:

> The test doesn't become disabled. It uses the generated `omp.h` instead. This is the only test that attempts to use the system `omp.h` (or test compiler's `omp.h`). The original purpose was to test GCC compatibility of depobj which GCC defines differently than our `omp.h`.

Indeed I missed that `%flags-use-compiler-omp-h` is specifically to test not using libomp's own `omp.h`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131000/new/

https://reviews.llvm.org/D131000



More information about the Openmp-commits mailing list