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

Android Termux / Userland #310

Open
kenfink opened this issue Jan 14, 2024 · 2 comments
Open

Android Termux / Userland #310

kenfink opened this issue Jan 14, 2024 · 2 comments

Comments

@kenfink
Copy link

kenfink commented Jan 14, 2024

Installation breaks with os.platform = "android" instead of Linux.
Hoping to get this running on ARM Android devices.

Once install works (tested by replacing os.platform), next issue is os.arch = anything other than "arm64" for example "aarch64", "arm" breaks the post-install script. Should be compatible, just differently named.

Bacalhau has a 32-bit armv7 version in releases, so "armv7l" and "armv8l" would be great os.arch options as well.
Can Zinnia run on 32 bit? If so, would need a version in releases for this.
If not, then maybe put an "arch" test in the script to warn that 32-bit shouldn't continue.

@bajtos
Copy link
Member

bajtos commented Jan 15, 2024

Related:

Zinnia doesn't provide binaries for arm6. Building such binaries will be very expensive because AFAIK rusty_v8 does not provide pre-built binaries for that platform, and therefore, we would have to build v8 from sources.

The same comment applies to arm7vl and armv8l.

Here is the list of rusty_v8 binaries available: https://github.com/denoland/rusty_v8/releases/tag/v0.83.1

@kenfink
Copy link
Author

kenfink commented Jan 15, 2024

Sounds like 64 bit Android kernel should be able to run it, and and 32-bit is out.

Related:

Zinnia doesn't provide binaries for arm6. Building such binaries will be very expensive because AFAIK rusty_v8 does not provide pre-built binaries for that platform, and therefore, we would have to build v8 from sources.

The same comment applies to arm7vl and armv8l.

Here is the list of rusty_v8 binaries available: https://github.com/denoland/rusty_v8/releases/tag/v0.83.1

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

No branches or pull requests

2 participants