This patch uses refactors CMake files related to PluginInterface in plugins-nextgen to handle LLVM dependences in a better way.
Details
Details
- Reviewers
jdoerfert jhuber6 - Commits
- rG59ae45298383: [OpenMP] Refactor CMake files related to `PluginInterface` in `plugins-nextgen`
rGe682a76c3bf6: [OpenMP] Use `add_llvm_library` to build the target `PluginInterface` in…
rG08c4081bd360: [OpenMP] Use `add_llvm_library` to build the target `PluginInterface` in…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt | ||
---|---|---|
15 | Should these be tied to the target rather than global? |
Comment Actions
I've reverted this since it broke cmake regeneration for me
CMake Error: install(EXPORT "LLVMExports" ...) includes target "omptarget.rtl.cuda.nextgen" which requires target "PluginInterface" that is not in any export set. CMake Error: install(EXPORT "LLVMExports" ...) includes target "omptarget.rtl.x86_64.nextgen" which requires target "PluginInterface" that is not in any export set.
This comment was removed by tianshilei1992.
Comment Actions
Yes, and the updated version should fix the problem on your side. Can you try it locally to see if the problem is gone?
Comment Actions
If you are sure that you've reproduced the problem and then it got fixed, then please feel free to go ahead.
Should these be tied to the target rather than global?