nixpkgs/lib/systems
Adam Joseph 12371a51e6 lib/systems: add mips64el definitions
MIPS has a large space of {architecture,abi,endianness}; this commit
adds all of them to lib/systems/platforms.nix so we can be done with
it.

Currently lib/systems/inspect.nix has a single "isMips" predicate,
which is a bit ambiguous now that we will have both mips32 and mips64
support, with the latter having two ABIs.  Let's add four new
predicates (isMips32, isMips64, isMips64n32, and isMips64n64) and
treat the now-ambiguous isMips as deprecated in favor of the
more-specific predicates.  These predicates are used mainly for
enabling/disabling target-specific workarounds, and it is extremely
rare that a platform-specific workaround is needed, and both mips32
and mips64 need exactly the same workaround.

The separate predicates (isMips64n32 and isMips64n64) for ABI
distinctions are, unfortunately, useful.  Boost's user-scheduled
threading (used by nix) does does not currently supports mips64n32,
which is a very desirable ABI on routers since they rarely have
more than 2**32 bytes of DRAM.
2022-03-10 20:30:16 -08:00
..
architectures.nix lib: Clean up how linux and gcc config is specified 2021-01-23 10:01:28 -05:00
default.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
doubles.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
examples.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
inspect.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
parse.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
platforms.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
supported.nix lib.systems.supported: remove aarch64-darwin from Tier 3 list 2021-12-16 17:51:21 +01:00