[all-commits] [llvm/llvm-project] 9cf651: [OpenMP][libomp] Detect if test compiler has omp.h

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Tue Aug 2 15:08:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cf6511bff97007401238f6cff6bf80cb9af04a5
      https://github.com/llvm/llvm-project/commit/9cf6511bff97007401238f6cff6bf80cb9af04a5
  Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M openmp/cmake/DetectTestCompiler/CMakeLists.txt
    M openmp/cmake/OpenMPTesting.cmake
    M openmp/runtime/test/CMakeLists.txt
    M openmp/runtime/test/lit.cfg
    M openmp/runtime/test/lit.site.cfg.in

  Log Message:
  -----------
  [OpenMP][libomp] Detect if test compiler has omp.h

omp50_taskdep_depobj.c relies on the test compiler's omp.h file.
If the test compiler does not have an omp.h file, then use the one
within the build tree.

Fixes: https://github.com/llvm/llvm-project/issues/56820
Differential Revision: https://reviews.llvm.org/D131000




More information about the All-commits mailing list