[all-commits] [llvm/llvm-project] 053e89: [DeviceRTL] CMake fix using target-level dependency
Ye Luo via All-commits
all-commits at lists.llvm.org
Mon Oct 10 19:24:43 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 053e894106beb534ec27010b960ee58031a2fdb8
https://github.com/llvm/llvm-project/commit/053e894106beb534ec27010b960ee58031a2fdb8
Author: Ye Luo <yeluo at anl.gov>
Date: 2022-10-10 (Mon, 10 Oct 2022)
Changed paths:
M openmp/libomptarget/DeviceRTL/CMakeLists.txt
Log Message:
-----------
[DeviceRTL] CMake fix using target-level dependency
File-level dependency should not be used on files generated during the build. The next command may execute before the generating command finishes writing the file. Use add_custom_target and use target-level dependency.
Differential Revision: https://reviews.llvm.org/D135630
More information about the All-commits
mailing list