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: Use 8.2.2 binary for boot, no parallel builds on aarch64. #45313

Conversation

TravisWhitaker
Copy link
Contributor

Motivation for this change

GHC 8.2.1 is rather broken. Upstream's build system actually complains if you attempt to build with it (see this bug). This is especially true of aarch64. It would be nice to bootstrap with upstream's binary 8.2.2 instead.

This bug also severely affects GHC on aarch64, and without disabling parallel building GHC is next to useless on that platform. Until a fix for that bug makes it into a release, it would be better to disable parallel builds on aarch64.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@vcunat
Copy link
Member

vcunat commented Aug 18, 2018

At least the parallel-build problem of aarch64 was discussed on #44482

@TravisWhitaker
Copy link
Contributor Author

Ah, someone beat me to it; sorry for missing that.

I agree that buildPlatform.isAarch64 is more correct, I'll change to that.

@TravisWhitaker
Copy link
Contributor Author

I don't quite understand the check-meta test this bot is doing. How can I re-run this on my machine? It looks like there's some issue with the definition of the aarch64-linux platform.

@peti peti force-pushed the haskell-updates branch 4 times, most recently from b2a773d to 2b2430d Compare September 3, 2018 09:58
@peti peti force-pushed the haskell-updates branch 2 times, most recently from b7c59d9 to 3ab4753 Compare September 18, 2018 14:02
@peti peti force-pushed the haskell-updates branch 4 times, most recently from 7b3d3e0 to f705ee2 Compare September 24, 2018 19:19
@peti peti force-pushed the haskell-updates branch 4 times, most recently from b6e6a8b to 478eff0 Compare October 8, 2018 16:38
@peti peti force-pushed the haskell-updates branch 3 times, most recently from 0ca4f8e to 7247873 Compare October 14, 2018 14:18
@ElvishJerricco
Copy link
Contributor

ElvishJerricco commented Oct 14, 2018

@TravisWhitaker can you rebase just your last commit onto master or haskell-updates? Also, we should leave the aarch64 parallel building issue to #44482 and ignore it in this PR.

@peti peti force-pushed the haskell-updates branch 2 times, most recently from 4462938 to 582d7e2 Compare October 15, 2018 09:57
@peti peti force-pushed the haskell-updates branch 12 times, most recently from cbcdf37 to 2bf4496 Compare August 16, 2019 17:53
@peti peti force-pushed the haskell-updates branch 5 times, most recently from cb2e918 to eea0e2f Compare August 28, 2019 08:13
@peti peti force-pushed the haskell-updates branch 6 times, most recently from 367d0eb to 79cfb44 Compare September 3, 2019 07:24
@peti peti force-pushed the haskell-updates branch 4 times, most recently from 9c35b0f to 5c582f3 Compare September 11, 2019 08:52
@lheckemann
Copy link
Member

Is this still relevant? If not, I'd suggest closing.

@TravisWhitaker
Copy link
Contributor Author

Nope, other PRs have addressed this. Thanks for flagging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants