jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.06k stars 1.72k forks source link

update android build scripts to support latest ndk version and prebuilt toolchains #1138

Closed ReenigneCA closed 2 years ago

ReenigneCA commented 2 years ago

I'm not sure if it's desired to maybe create a second set of scripts instead. The existing android build scripts don't work with the latest ndk. The latest ndk dropped support for arm prior to armv7a and mips. It is now recommended that prebuilt toolchains be used instead of creating a toolchain for each build (this also saves a lot of disk space.) I've tested this new script and it works on the latest development version of Ubuntu and the latest version of MacOS. perhaps a different folder with android-legacy or something like that for the old architectures?

jedisct1 commented 2 years ago

Thanks!

But why were the mips versions deleted? Is mips now an unsupported target?

jedisct1 commented 2 years ago

The latest ndk dropped support for arm prior to armv7a and mips

Scratch that, I overlooked that part of the description :)