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

Fix coreclr and upgrade to 2.0.0 #30156

Merged
merged 6 commits into from Oct 25, 2017
Merged

Fix coreclr and upgrade to 2.0.0 #30156

merged 6 commits into from Oct 25, 2017

Conversation

kuznero
Copy link
Member

@kuznero kuznero commented Oct 6, 2017

Motivation for this change

Fix coreclr package currently marked as broken. In addition upgrade it to latest and greatest 2.0.0. Related to issue #25498. Ping @obadz @copumpkin, @janvorli.

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
    • Linux
  • 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.

./build.sh $BuildArch $BuildType
# set +x
Copy link
Member

Choose a reason for hiding this comment

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

Did you left this unintentionally?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, was troubleshooting. Will be removed in the final version. Thanks, @Mic92

@Mic92
Copy link
Member

Mic92 commented Oct 6, 2017

Some other shellscripts were also had the wrong shebang (you did not notice that due missing sandbox). I will push a fix soon.

@Mic92
Copy link
Member

Mic92 commented Oct 6, 2017

Looks much better now. Can you test an actual project with it?

maintainers = with stdenv.lib.maintainers; [ obadz ];
license = stdenv.lib.licenses.mit;
broken = true; # CoreCLR has proven to be very difficult to package. PRs welcome if someone wants to shave that yak.
maintainers = with maintainers; [ obadz ];
Copy link
Member

Choose a reason for hiding this comment

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

@obadz do you still want to be a maintainer here? and @kuznero are you interested in being one?

Copy link
Member Author

Choose a reason for hiding this comment

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

@copumpkin yes, I am interested

Copy link
Contributor

Choose a reason for hiding this comment

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

@copumpkin: no, feel free to remove me. Cheers.

Copy link
Member

Choose a reason for hiding this comment

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

@kuznero maybe just add yourself to this list in this PR and remove @obadz while you're at it? This isn't my PR so I can't remove you myself @obadz

@kuznero kuznero requested a review from edolstra as a code owner October 8, 2017 20:22
@kuznero kuznero mentioned this pull request Oct 18, 2017
@copumpkin
Copy link
Member

@GrahamcOfBorg coreclr

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

shrinking /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/share/dotnet/System.Globalization.Native.so
shrinking /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/share/dotnet/libsuperpmi-shim-counter.so
shrinking /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/share/dotnet/libsuperpmi-shim-collector.so
shrinking /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/share/dotnet/libprotononjit.so
shrinking /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/share/dotnet/createdump
shrinking /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/share/dotnet/libsos.so
stripping (with flags -S) in /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0/bin
patching script interpreter paths in /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0
checking for references to /tmp/nix-build-coreclr-2.0.0.drv-0 in /nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0...
/nix/store/32873lyx0d0nc8d5jkv4ghjdzhn4y9dg-coreclr-2.0.0

@Mic92 Mic92 merged commit fdb4bec into NixOS:master Oct 25, 2017
@kuznero kuznero deleted the pr/coreclr2 branch October 25, 2017 12:34
@layus
Copy link
Member

layus commented Oct 25, 2017

@Mic92 @kuznero Nitpick: this does not fit Contributing.md; 4 out of the 6 commits are not prefixed by the package they modify (here coreclr). Seeing "Use build type parameter" in the log feels really odd 😉

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.

None yet

6 participants