DrTimothyAldenDavis / SuiteSparse

The official SuiteSparse library: a suite of sparse matrix algorithms authored or co-authored by Tim Davis, Texas A&M University.
https://people.engr.tamu.edu/davis/suitesparse.html
Other
1.14k stars 258 forks source link

CI: "Fake" a cross-compilation for one of the Ubuntu runners. #740

Closed mmuetzel closed 7 months ago

mmuetzel commented 7 months ago

When cross-compiling, some files (notably the JIT package generator of GraphBLAS) are built in a different order and with different commands than normally.

Setting CMAKE_SYSTEM_NAME to the host system name doesn't actually lead to a cross-compilation. But it should trigger the build path that would also be used for an actual cross-compilation.