[all-commits] [llvm/llvm-project] 5acdae: [OpenMP] Fixed an issue that wrong LLVM headers mi...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Jan 6 14:07:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5acdae1f9a772e16850b0ee9648d79a7c3becf23
      https://github.com/llvm/llvm-project/commit/5acdae1f9a772e16850b0ee9648d79a7c3becf23
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M openmp/libomptarget/src/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP] Fixed an issue that wrong LLVM headers might be included when building libomptarget

Wrong LLVM headers might be included if we don't set `include_directories`
to a right place. This will cause a compilation error if LLVM is installed in
system directories.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D93737




More information about the All-commits mailing list