Skip to content

ghc: make disableLargeAddressSpace configurable #58547

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

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

luispedro
Copy link
Contributor

Motivation for this change

Even on Linux/NixOS, it can be useful to have a compiler without the large address space as it creates issues in some contexts (e.g., http://haskell.1045720.n5.nabble.com/Issues-with-the-large-address-space-allocator-and-HPC-systems-with-resource-limits-td5878939.html)

So, this PR makes the setting configurable.

Things done
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions

Sorry, something went wrong.

Even on Linux/NixOS, it can be useful to have a compiler without the
large address space as it creates issues in some contexts.
@GrahamcOfBorg GrahamcOfBorg added 6.topic: haskell 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Mar 29, 2019
@peti peti changed the base branch from master to haskell-updates March 29, 2019 16:36
@peti peti force-pushed the haskell-updates branch from 86fd833 to d3bb814 Compare March 29, 2019 16:37
@peti peti merged commit 7f9e46e into NixOS:haskell-updates Mar 29, 2019
@GrahamcOfBorg GrahamcOfBorg added 6.topic: emacs Text editor 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: python 6.topic: rust 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: clean-up 10.rebuild-darwin: 101-500 10.rebuild-linux: 501+ 10.rebuild-linux: 501-1000 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: emacs Text editor 6.topic: haskell 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: python 6.topic: rust 8.has: changelog 8.has: clean-up 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 101-500 10.rebuild-linux: 501-1000 10.rebuild-linux: 501+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants