[PATCH] D141861: [nvptx-arch] Dynamically load the CUDA runtime if not found during the build

Steven Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 30 15:13:41 PST 2023


srj added a comment.

In D141861#4092034 <https://reviews.llvm.org/D141861#4092034>, @srj wrote:

> In D141861#4091987 <https://reviews.llvm.org/D141861#4091987>, @jhuber6 wrote:
>
>> Can you let me know if adding this fixes it.
>
> Unfortunately, no. (That is: It does not fix it. CMAKE_CROSSCOMPILING is unfortunately a subtle and flaky beast, see e.g. https://gitlab.kitware.com/cmake/cmake/-/issues/21744)

Update: I may have a way to make this work from my side; testing now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141861/new/

https://reviews.llvm.org/D141861



More information about the cfe-commits mailing list