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

Ghc cross #2

Commits on Aug 19, 2024

  1. haskellPackages: stackage LTS 22.31 -> LTS 22.33

    This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
    maralorn committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    07494f9 View commit details
    Browse the repository at this point in the history
  2. all-cabal-hashes: 2024-07-31T18:11:52Z -> 2024-08-19T17:17:03Z

    This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
    maralorn committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    299d0e8 View commit details
    Browse the repository at this point in the history
  3. haskellPackages: regenerate package set based on current config

    This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
    maralorn committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    fbb895e View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    7a56b67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1816263 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9aacff1 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    0aa968f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d0ae74 View commit details
    Browse the repository at this point in the history
  3. Merge pull request NixOS#336209 from alexfmpe/ghc-js-entropy

    haskellPackages.entropy: build with js backend
    maralorn authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    a64b64f View commit details
    Browse the repository at this point in the history
  4. haskell.compiler.ghc*: set stage 0 tools

    This is easy in comparison since these tools won't end up in GHC's
    settings nor need to be available at runtime, so we can use
    the *_FOR_BUILD environment variables.
    
    It is important to add buildCC to depsBuildBuild to engage the
    stdenv/wrapper script machinery properly.
    
    Co-authored-by: sternenseemann <[email protected]>
    AlexandreTunstall and sternenseemann committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    65962d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    96abcd4 View commit details
    Browse the repository at this point in the history
  6. haskell.compiler.ghc*: correctly account for ncurses in cross

    1. Explicitly set WITH_TERMINFO. We usually match GHC's behavior well,
       but it is better to tie the Nix option to make explicitly.
       Unfortunately, the same is very complicated to achieve with
       hadrian (iirc).
    2. Disable enableTerminfo if we are cross-compiling. This matches
       the behavior of GHC's build system, so we'll have to match it now.
       It also reduces the ncurses-related headache a bit.
    3. Stop passing --with-curses* flags. Unfortunately, GHC does not
       account for the fact that different platforms need different ncurses
       libraries. This is somewhat migitated by the fact that ncurses is
       only ever needed for the build platform if we are cross compiling,
       but I seem to remember it leaking into the final GHC somehow.
       A more reliable alternative is relying on the cc/ld wrapper scripts,
       as they'll always pull out the correct ncurses out of the environment
       when GHC's build system passes -lcurses.
    4. Unconditionally add ncurses to depsBuildBuild. Stage0 unconditionally
       builds terminfo (maybe the stage1 compiler needs it?), so we need to
       make sure that ncurses for the build platform is available.
    
    Co-authored-by: sternenseemann <[email protected]>
    AlexandreTunstall and sternenseemann committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f6ae91d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    46d1b43 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    485482c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    046be34 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    726a9ed View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fc255a1 View commit details
    Browse the repository at this point in the history
  12. haskell.compiler.ghc*: allow all platforms

    Propagating the supported platforms of the boot compiler doesn't make
    much sense when unregistered cross-compilation is possible.
    AlexandreTunstall authored and sternenseemann committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    55c5309 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Configuration menu
    Copy the full SHA
    dece887 View commit details
    Browse the repository at this point in the history
  2. tests.cross.sanity: Add GHC to catch regressions

    This is to ensure that Haskell users on platforms that lack official
    bindists still have a convenient means of getting GHC running natively.
    
    In my admittedly somewhat limited testing on RISC-V, GHC 8.10.7 is able
    to bootstrap native builds for 9.2.8 and 9.4.5. GHC 9.2.8 and 9.4.5 are
    unable to bootstrap themselves and 9.6.2 when cross-compiled.
    
    If you're looking at this commit to see whether you can safely upgrade
    the compiler used here to remove 8.10, please try cross-compiling 9.0 or
    later and then booting a native GHC with it.
    AlexandreTunstall authored and sternenseemann committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    a1fbf2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd9fa33 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    884bd5f View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    7bc2c96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56af434 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    ba580ce View commit details
    Browse the repository at this point in the history