Closed carterbox closed 1 year ago
The same command doesn't fail for ARM
Those are two different commands. For eg:
/usr/local/cuda/lib64/libcudart.so
for ppc64le
vs /usr/local/cuda/targets/sbsa-linux/lib/libcudart.so
for aarch64
.
I think my issue may be related to find_package(CUDAToolkit)
picking up the host platform instead of the target. I'm going to try overriding the -DCUDAToolkit_ROOT
from /usr/local/cuda
to /usr/local/cuda/targets/
.
Solution to issue cannot be found in the documentation.
Issue
When cross compiling on linux for ppc and arm, I get a linking error that the linker is trying to use the x86 libcuart.so instead of the powerpc one.
The same command doesn't fail for ARM
It looks like in some instances, /usr/local/cuda/lib64 is being used instead of /usr/local/cuda/targets/.
Installed packages
Environment info
https://github.com/conda-forge/libmagma-feedstock/pull/8