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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
We also need dependencies to those tools for each target.
openmp/libomptarget/DeviceRTL/CMakeLists.txt | ||
---|---|---|
175 | it occurs to me that, we also need to add ${LINK_TOOL} to dependencies. |
openmp/libomptarget/DeviceRTL/CMakeLists.txt | ||
---|---|---|
175 | Line 226. No? |
openmp/libomptarget/DeviceRTL/CMakeLists.txt | ||
---|---|---|
175 | oh, I missed that. My bad. |
it occurs to me that, we also need to add ${LINK_TOOL} to dependencies.