[all-commits] [llvm/llvm-project] 99d72e: [Libomptarget] Add header files as a dependency to...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Feb 8 09:10:19 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99d72ebddf97879c175552278601c824410884e8
https://github.com/llvm/llvm-project/commit/99d72ebddf97879c175552278601c824410884e8
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M openmp/libomptarget/DeviceRTL/CMakeLists.txt
Log Message:
-----------
[Libomptarget] Add header files as a dependency to CMake target
This patch manually adds the runtime include files to the list of
dependencies when we build the bitcode runtime library. Previously if
only the header was changed we would not recompile the source files.
The solution used here isn't optimal because every source file not has a
dependency on each header file regardless of if it was actually used by
that file.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D119254
More information about the All-commits
mailing list