Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/android build #1

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Fix/android build #1

wants to merge 8 commits into from

Conversation

mattyg
Copy link
Member

@mattyg mattyg commented Sep 25, 2024

Use platform-specific CMakeLists.txt used for building iwasm binary. Building iwasm also builds the libraries we are linking to and it appears to be the only method supported for building on all the platforms.

I'm still having an inconsistent issue where cmake complains that WAMR_BUILD_TARGET is not set -- seems to happen every other run. I'm guessing there is some cmake cache from the prior run that is not getting cleared properly.

With this setup, and some changes to the nix environment, android builds are working.

I'm guessing this will make win32 builds work as well, but need to test.

It sounds like this work may get merged into wasmer's 5.x release, so perhaps we can wait for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant