diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2023-12-01 11:30:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 19:30:05 -0800 |
commit | 6402706a00e806aef62836cd1a13a412349121eb (patch) | |
tree | 1a2fcf2ab80769774e46fbf905e3d784fe0884a5 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | d0a39e617ba301a76d28e2d82e1f657999c9dcfb (diff) | |
download | llvm-6402706a00e806aef62836cd1a13a412349121eb.zip llvm-6402706a00e806aef62836cd1a13a412349121eb.tar.gz llvm-6402706a00e806aef62836cd1a13a412349121eb.tar.bz2 |
[mlir] Fix the link of libcuda.so in MLIRGPUTransforms to not use fully qualified path (#74018)
At the moment we find libcuda.so in a path like:
/usr/local/cuda/targets/x86_64-linux/lib/stubs/libcuda.so
and directly add this to `target_link_libraries`. The problem is that
our installed MLIR package will include the full path to the library,
and a user downstream when including our cmake installed package will
inherit this full path.
We're changing this to instead
-L /usr/local/cuda/targets/x86_64-linux/lib/stubs/ -lcuda
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions