[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 11:21:42 PDT 2022


Meinersbur added a comment.

Rather than disabling the test, did you consider adding an `-I${CMAKE_CURRENT_BINARY_DIR}/runtime/src` (where `omp.h` resides) to the clang test flags? Even if there is an `omp.h` already on the system, libomp's header should be used instead since it may contain new symbols not yet present in the system's `omp.h`. It might even be `-isystem` to treat it like a system header.


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