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

mips64el support #161158

Merged
merged 9 commits into from Mar 17, 2022
Merged

mips64el support #161158

merged 9 commits into from Mar 17, 2022

Commits on Mar 11, 2022

  1. 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.
    Adam Joseph committed Mar 11, 2022
    1 Configuration menu
    Copy the full SHA
    12371a5 View commit details
    Browse the repository at this point in the history
  2. Update pkgs/top-level/stage.nix

    Co-authored-by: John Ericson <git@JohnEricson.me>
    2 people authored and Adam Joseph committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    3cf8318 View commit details
    Browse the repository at this point in the history
  3. s/makeStaticParsedPlatform/makeMuslParsedPlatform/g

    Adam Joseph committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    5b63b25 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a1235f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e748e1f View commit details
    Browse the repository at this point in the history
  6. remove float = "hard" from mips entries

    Adam Joseph committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    998fd40 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ed4fa55 View commit details
    Browse the repository at this point in the history
  8. This commit adds only comments to platforms.nix.

    Adam Joseph committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    6de935a View commit details
    Browse the repository at this point in the history
  9. Ericson2314's suggestion here: #161158 (comment)

    Adam Joseph committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    ff69b8c View commit details
    Browse the repository at this point in the history