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

mono: re-enable parallel building #32386

Merged
merged 1 commit into from Dec 7, 2017
Merged

mono: re-enable parallel building #32386

merged 1 commit into from Dec 7, 2017

Conversation

pbogdan
Copy link
Member

@pbogdan pbogdan commented Dec 6, 2017

Motivation for this change

Shorter build times for mono packages. The commit that originally disabled parallel builds is from 2012 for an older version of mono and according to upstream the issues have been since resolved - https://bugzilla.xamarin.com/show_bug.cgi?id=2018.

/cc maintainers @viric @thoughtpolice @obadz @vrthra

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.

@thoughtpolice
Copy link
Member

LGTM

@thoughtpolice thoughtpolice merged commit c2a4baf into NixOS:master Dec 7, 2017
@orivej
Copy link
Contributor

orivej commented Dec 7, 2017

This appears to have broken mono44: https://hydra.nixos.org/build/65565737

@thoughtpolice
Copy link
Member

Sigh quite the drag. mono44 isn't even used by anything so ideally I'd just nuke it; however, I have a new change that will simply disable parallel building on 4.4 branch instead.

@thoughtpolice
Copy link
Member

Fixed in 90bcfc7

thoughtpolice added a commit that referenced this pull request Dec 7, 2017
See #32386 -- while Mono in general should build correctly with parallel
building, it seems the 4.4 branch has broken.

Instead, allow parallel build support to be overridden by individual
versions, and default to true.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
@vcunat
Copy link
Member

vcunat commented Dec 8, 2017

This probably needs some more work:

@orivej
Copy link
Contributor

orivej commented Dec 9, 2017

Disabled for mono46 and mono48: 0a41fc6
The only versions left enabled are mono40 and mono50.

@orivej
Copy link
Contributor

orivej commented Dec 11, 2017

Disabled mono50: 7d14f81

@vcunat
Copy link
Member

vcunat commented Dec 11, 2017

:-) sounds like it should be disabled in generic mono expression and explicitly enabled in versions tested to be OK.

@thoughtpolice
Copy link
Member

thoughtpolice commented Dec 11, 2017

If practically all of them are broken, we should just back out the change?

copumpkin pushed a commit to copumpkin/nixpkgs that referenced this pull request Jan 29, 2018
See NixOS#32386 -- while Mono in general should build correctly with parallel
building, it seems the 4.4 branch has broken.

Instead, allow parallel build support to be overridden by individual
versions, and default to true.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
(cherry picked from commit 90bcfc7)
copumpkin pushed a commit to copumpkin/nixpkgs that referenced this pull request Jan 29, 2018
@pbogdan pbogdan deleted the mono-parallel-build branch December 3, 2019 17:17
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