To be clear: this is not an issue asking for help cross compiling. This is a bug in Ipopt's autotools.
I am using Ubuntu 24.04 to cross compile Ipopt for an aarch64 host from an x86_64 build machine. The only step that is explicitly prevented from working is make test, due to run_unitTests.sh naively running the binaries on the build platform. Since you are not using autotools's native test support, the normal methods of using LOG_COMPILER, etc. to override the test runner do not work.
There needs to be some sort of variable allowing the user to override how tests are run so that they can be wrapped by something like qemu-user-static to test cross compiled code.
To be clear: this is not an issue asking for help cross compiling. This is a bug in Ipopt's autotools.
I am using Ubuntu 24.04 to cross compile Ipopt for an aarch64 host from an x86_64 build machine. The only step that is explicitly prevented from working is
make test, due torun_unitTests.shnaively running the binaries on the build platform. Since you are not using autotools's native test support, the normal methods of usingLOG_COMPILER, etc. to override the test runner do not work.There needs to be some sort of variable allowing the user to override how tests are run so that they can be wrapped by something like
qemu-user-staticto test cross compiled code.