Skip to content

GHC 7.6.2#291

Merged
shlevy merged 1 commit intoNixOS:masterfrom
aristidb:ghc7.6.2
Jan 29, 2013
Merged

GHC 7.6.2#291
shlevy merged 1 commit intoNixOS:masterfrom
aristidb:ghc7.6.2

Conversation

@aristidb
Copy link
Contributor

It compiles fine, parallel build active, on my x86_64 NixOS machine.

@aristidb
Copy link
Contributor Author

Also successfully builds on OS X 10.7.

@shlevy shlevy merged commit 3a68505 into NixOS:master Jan 29, 2013
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my experience, parallel build errors occur because the makefile underspecifies (or mis-states) the dependencies. If that is the case, then those issues will usually arise regardless of whether make is being run on Linux, Darwin, or any other system. I also don't see any system-specific stuff in the error messages shown below. So I wonder ... what makes you believe that race conditionts in the build system might dependent on the system platform?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing other than build errors often being architecture specific. My hope
is that 7.6.2 fixed these errors either way.
Am 30.01.2013 11:26 schrieb "Peter Simons" notifications@github.com:

In pkgs/development/compilers/ghc/7.6.2.nix:

+stdenv.mkDerivation rec {

  • version = "7.6.2";
  • name = "ghc-${version}";
  • buildInputs = [ ghc perl gmp ncurses ];
  • The comments below applied to GHC 7.6.1, left for if somebody experiences

  • similar problems. If so, I argue we should selectively disable parallel

  • building JUST for that platform. ~aristidb

In my experience, parallel build errors occur because the makefile
underspecifies (or mis-states) the dependencies. If that is the case, then
those issues will usually arise regardless of whether make is being run
on Linux, Darwin, or any other system. I also don't see any system-specific
stuff in the error messages shown below. So I wonder ... what makes you
believe that race conditionts in the build system might dependent on the
system platform?


Reply to this email directly or view it on GitHubhttps://github.com//pull/291/files#r2824096.

@peti
Copy link
Member

peti commented Jan 30, 2013

Yes, I too hope that 7.6.2 compiles fine with parallel building enabled.

If it does not, however, then we should probably not assume that this issue might be platform-specific. There seems to be no evidence to support that assumption.

@deepfire deepfire mentioned this pull request Jan 26, 2024
13 tasks
yorickvP pushed a commit that referenced this pull request Nov 5, 2024
This works around #291, halfway.
infinixbot pushed a commit to infinixbot/nixpkgs that referenced this pull request Apr 13, 2025
Format using the base commit from nixfmt PR 293: NixOS/nixfmt@65af4b6
notklea pushed a commit to notklea/nixpkgs that referenced this pull request Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants