3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/linux
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
..
bootstrap-files Merge #151399: stdenv: update aarch64 bootstrap-files 2022-01-04 20:08:39 +01:00
bootstrap-tools
bootstrap-tools-musl
default.nix stdenv: add bootstrap files for riscv64 2021-11-30 05:03:30 +08:00
make-bootstrap-tools-cross.nix lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
make-bootstrap-tools.nix make-bootstrap-tools: produce libatomic on riscv platform 2021-11-26 00:32:33 +08:00