[all-commits] [llvm/llvm-project] 91ccd8: [Clang][OpenMP] libompd: get libomp hwloc included...
Ye Luo via All-commits
all-commits at lists.llvm.org
Fri Apr 22 15:36:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91ccd8248c85385a5654c63c302a37d97f811bab
https://github.com/llvm/llvm-project/commit/91ccd8248c85385a5654c63c302a37d97f811bab
Author: Ye Luo <yeluo at anl.gov>
Date: 2022-04-22 (Fri, 22 Apr 2022)
Changed paths:
M openmp/libompd/src/CMakeLists.txt
M openmp/runtime/cmake/config-ix.cmake
M openmp/runtime/src/CMakeLists.txt
Log Message:
-----------
[Clang][OpenMP] libompd: get libomp hwloc includedir by target_link_libraries
When hwloc is used and is installed outside of the default paths, the omp CMake target
needs to provide the needed include path thru the CMake target by adding it with
target_include_directories to it, so libompd gets it as well when it defines it's cmake
target using target_link_libraries.
As suggested in D122667
Reviewed By: ye-luo
Differential Revision: https://reviews.llvm.org/D123888
More information about the All-commits
mailing list