Hello!
So I wanted to compile essentia for all Android architectures (x86, x86_64, arm, arm64) and I noticed that the file wscript
has hardcoded values for cross compilation. Specifically, looking at the file wscript
in the master branch at lines 223 - 225, we see the hardcoded value arm-linux-androideabi-*
. I worked around this issue by manually changing these values depending on the wanted architecture, for example:
These definitions are taken from the "prefix" of the files located in the bin/
folder of your toolchain. Now, this could be solved by automatically building all architectures, for example.
Sure, we should address that. Any pull request is welcome.
After switching to clang in #622 how can we change the architectures for Android?
With Android NDkr21 and above, there are scripts available in the NDK to configure which architecture to build for. I suggest adding a flag to wscript to choose the architecture.
Most helpful comment
After switching to clang in #622 how can we change the architectures for Android?