[Openmp-commits] [PATCH] D119254: [Libomptarget] Add header files as a dependency to CMake target
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Feb 8 09:10:25 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG99d72ebddf97: [Libomptarget] Add header files as a dependency to CMake target (authored by jhuber6).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119254/new/
https://reviews.llvm.org/D119254
Files:
openmp/libomptarget/DeviceRTL/CMakeLists.txt
Index: openmp/libomptarget/DeviceRTL/CMakeLists.txt
===================================================================
--- openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -106,6 +106,16 @@
set(LIBOMPTARGET_DEVICE_DEBUG FALSE CACHE BOOL
"Activate DeviceRTL debug messages.")
+set(include_files
+ ${include_directory}/Configuration.h
+ ${include_directory}/Debug.h
+ ${include_directory}/Interface.h
+ ${include_directory}/Mapping.h
+ ${include_directory}/State.h
+ ${include_directory}/Synchronization.h
+ ${include_directory}/Types.h
+ ${include_directory}/Utils.h
+)
set(src_files
${source_directory}/Configuration.cpp
@@ -161,7 +171,7 @@
-Xclang -target-cpu -Xclang ${target_cpu}
${target_bc_flags}
${infile} -o ${outfile}
- DEPENDS ${infile}
+ DEPENDS ${infile} ${include_files}
IMPLICIT_DEPENDS CXX ${infile}
COMMENT "Building LLVM bitcode ${outfile}"
VERBATIM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119254.406865.patch
Type: text/x-patch
Size: 987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220208/055f2a16/attachment.bin>
More information about the Openmp-commits
mailing list