3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
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
..
cross
custom
cygwin
darwin bootstrap-tools: disable iconv for the hello test 2022-02-08 08:57:11 +10:00
freebsd
generic stdenv/check-meta: remove onlyLicenses check 2022-02-17 13:09:24 +01:00
linux lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
native
nix
adapters.nix stdenv: introduce withCFlags 2022-01-29 21:23:12 -05:00
booter.nix
common-path.nix
default.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00