cmake-rs icon indicating copy to clipboard operation
cmake-rs copied to clipboard

Fix cross compilation on android armv7 and x86

Open fredszaq opened this issue 1 year ago • 3 comments

This fixes the following cmake errors

Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='x86'.

and

Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='arm'.

when crosscompiling for i686-linux-android and armv7-linux-androideabi android targets

fixes #175

fredszaq avatar Oct 03 '23 13:10 fredszaq

the ci fails on mips crosscompile test as rustup can't download those targets that were retrogaded to tier 3 https://github.com/rust-lang/compiler-team/issues/648

fredszaq avatar Oct 03 '23 14:10 fredszaq

I confirm this solves issues cross-compiling for Android, would love to see this merged

FlorianDenis avatar Oct 14 '23 14:10 FlorianDenis

Yes, this solves the issue (I can confirm for armv7-linux-androideabi) @thomcc, pinging you since you seem to be an active reviewer of cmake-rs 🙂. Please ignore if this PR falls out of your scope.

MihirLuthra avatar Dec 26 '23 08:12 MihirLuthra