summaryrefslogtreecommitdiffstats
path: root/pkgs/development/androidndk-pkgs
AgeCommit message (Collapse)Author
2023-09-21androidndkPkgs: separate build and target ndkInfoFunArtturin
remove unused hostInfo variable, the uses of it were removed in (androidndk: remove legacy ndks)[2408ef3c6faa0ba0d513257378563ddc886f1020]. This prevents exiting with `error "attribute 'triple' missing"` It's better to exit with a throw than a attribute missing which cannot
2023-09-21androidndkPkgs: throw if targetPackages is not populatedArtturin
It's better to exit with a throw than a attribute missing which cannot be caught with tryEval ``` > pkgsCross.aarch64-android-prebuilt.androidndkPkgs error: attribute 'androidndkPkgs_21' missing ``` Proper ways to to use `androidndkPkgs` AFAIK. `with import ./. { crossSystem = (import ./lib).systems.examples.aarch64-android-prebuilt; }; buildPackages.androidndkPkgs` or `pkgsCross.aarch64-android-prebuilt.buildPackages.androidndkPkgs`
2023-02-18android-ndk: allow -no-pieMoritz Angermann
We add -pie if we don't find -shared in the arguments. However this does not work in the presense of @response files. We also do not respect -no-pie, and add -pie regardless. This improves the argument parsing, and allows to prevent the forced -pie flag.
2022-12-06android-ndk: change to targetPrefixcidkidnix
2022-09-23Add muldefs to ld-flagscidkidnix
2022-06-29androidndk: remove legacy ndksJari Vetoniemi
allows us to remove python2 dependencies and lot more
2022-06-29androidenv: update packagesJari Vetoniemi
2022-06-29androidenv: fix android cross-compilersJari Vetoniemi
These were completely broken. Even if they managed to output a binary, it wouldn't actually run on the actual device.
2022-06-28androidndkPkgs.binaries: correct passthru parametersChristoph Bauer
Without this patch ghc 8.10.7 with taget platform aarch64-android fails to build due an invalid nix expression (missing attribute targetPrefix). To fix that we make the binaries attribute to conform with the expectation about unwrapped bintools / cc derivations w.r.t. passthru attributes.
2021-01-24pkgs/development: stdenv.lib -> libBen Siraphob
2020-09-08androidndkPkgs: Take version from underlying packageJohn Ericson
We can now do this, so let's.
2020-08-17android: readd 18b ndkMatthew Bauer
This is referenced in all-packages.nix, so might as well leave it heref or now.
2020-08-17android: update sdk, ndk to 29, 21Matthew Bauer
2020-05-16androidndkPkgs: expose libc in cc.lib (#87737)Orivej Desh
Fixes cross compiling gdb that uses targetPackages.stdenv.cc.cc.lib.
2019-12-05androidndkPkgs: fix typo in propagatedBuildInputs (#75045)Pedro Pombeiro
2019-09-23androidndk: get correct libs for x86_64Matthew Bauer
2019-08-28treewide: remove redundant recvolth
2019-08-26treewide: remove redundant quotesvolth
2019-06-16treewide: remove unused variables (#63177)volth
* treewide: remove unused variables * making ofborg happy
2019-04-20cc-wrapper: make machine configuration configurableMatthew Bauer
It is useful to make these dynamic and not bake them into gcc. This means we don’t have to rebuild gcc to change these values. Instead, we will pass cflags to gcc based on platform values. This was already done hackily for android gcc (which is multi-target), but not for our own gccs which are single target. To accomplish this, we need to add a few things: - add ‘arch’ to cpu - add NIX_CFLAGS_COMPILE_BEFORE flag (goes before args) - set -march everywhere - set mcpu, mfpu, mmode, and mtune based on targetPlatform.gcc flags cc-wrapper: only set -march when it is in the cpu type Some architectures don’t have a good mapping of -march. For instance POWER architecture doesn’t support the -march flag at all! https://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options
2019-04-16androidndk-pkgs: Remove -mfloat flagKen Micklas
2019-04-10systems: remove android armv5te platformMatthew Bauer
this isn’t useful any more because the ndk we use no longer supports it.
2019-04-10androidndk: fixup messMatthew Bauer
New android ndk (18) now uses clang. We were going through the wrapper that are provided. This lead to surprising errors when building. Ideally we could use the llvm linker as well, but this leads to errors as many packages don’t support the llvm linker.
2019-04-10androidndk-pkgs: Fix cc-wrapper flagsKen Micklas
(cherry picked from commit 5f4bf240f51124ffa19a5fa0ac48bf144768d9ff)
2018-12-19Remove redundant chmodSander van der Burg
2018-12-18Initial attempt to restore Android NDK cross buildingSander van der Burg
2018-12-18Separate androidndkpkgs from androidenvSander van der Burg