Could somebody share CMake files for cross-compilation x86_64->aarch64?

Greetings.

I’m not able to cross-compile an application with a combination of both .cu and .cpp files. I have a target file system, a toolchain and am able to cross-compile official samples. But I can’t build the project with CMake and a toolchain file. What’s interesting, if I remove all .cpp files leaving only .cu everything works fine. And vice versa.

I would really appreciate it if someone could share their config.

Thank you.

How about compile it on Xavier?

@ShaneCCC Unfortunately, it’s not an option. The project is a part of our CI. Also, we use an internal build tool/dependency manager and I don’t think I can make it run on aarch64.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.