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

error: unknown target CPU 'intel' NixOS #78

Open
ZanovelloAlberto opened this issue Dec 28, 2023 · 1 comment
Open

error: unknown target CPU 'intel' NixOS #78

ZanovelloAlberto opened this issue Dec 28, 2023 · 1 comment

Comments

@ZanovelloAlberto
Copy link

ZanovelloAlberto commented Dec 28, 2023

i composed an android packages (SDK) with the following versions on NixOS

  abiVersions = [ "armeabi-v7a" "arm64-v8a" "x86" "x86_64" ];
  platformVersions = [ "26" ];
  platformToolsVersion = "34.0.5";
  toolsVersion = "26.1.1";
  buildToolsVersions = [ "30.0.3" ];

see full configuration

after makeing it work for arm i tried uncommenting lines for make it available for x86 or x86_64 cpu but it give me this error with the composition previously declared.

error: unknown target CPU 'intel'
(for bot x86 and x86_64)

WORKAROUND
i figured out that removing the flag -mtune=intel seem to compile properly ( not still tested )

@ZanovelloAlberto ZanovelloAlberto changed the title error: unknown target CPU 'intel' error: unknown target CPU 'intel' NixOS Dec 28, 2023
@dreua

This comment was marked as outdated.

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