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

On-device building #2

Open
t184256 opened this issue Aug 1, 2023 · 2 comments
Open

On-device building #2

t184256 opened this issue Aug 1, 2023 · 2 comments

Comments

@t184256
Copy link

t184256 commented Aug 1, 2023

As dnshackresolver needs to be built with the Android NDK, (which isn't available on aarch64)

There might be no prebuilt toolchain, but one can try compiling it. I'll try something like:

crossSystem = {
  config = "aarch64-unknown-linux-android";
  sdkVer = "32";
  useAndroidPrebuilt = false;
  libc = "bionic";
  useLLVM = true;
};

Might be of use for inspiration: https://github.com/t184256/nix-compile-for-android

@t184256
Copy link
Author

t184256 commented Aug 1, 2023

hm, on-device build crashed for some reason early in toolchain compilation

@ettom
Copy link
Owner

ettom commented Aug 1, 2023

Getting rid of the prebuilt binaries would be great. The toolchain build would probably take a while though. Perhaps emulating x86 could be an option? 😄

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