The GPU plugins have a dependency on the device libraries. Sometimes we
cannot build the device libraries because the user does not have a valid
clang to use or it was explicitly disabled. Currently this leads to a
transitive failure because we cannot meet this dependency. This patch
simply removes that dependency.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Well, I guess it's possible to use OpenMP without the device runtime. We could potentially just keep them completely separate. My guess is that whoever wrote the code first didn't know how to make the dependency build so they put it on the plugins.
Comment Actions
The build of plugins don't need device runtime right? We set dependences in CMake for build and test running only.
Comment Actions
Updating to just remove the dependency. I think it should be fine to build these anyway. Not sure why we need to depend on the DeviceRTL.
Comment Actions
Just to confirm: I applied this patch to rc1 (& rc2) and then things build fine again. Thanks!