Skip to content

[Android] wscript only considers arm architecture #760

Open
@alexsivris

Description

@alexsivris

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:

  • arm: unchanged
  • arm64: aarch64-linux-android
  • x86: i686-linux-android
  • x86_64: x86_64-linux-android

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions