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

souper: init at 2017-01-05 #22468

Merged
merged 1 commit into from
Feb 8, 2017
Merged

souper: init at 2017-01-05 #22468

merged 1 commit into from
Feb 8, 2017

Conversation

taktoa
Copy link
Member

@taktoa taktoa commented Feb 5, 2017

Motivation for this change

souper is an LLVM-based superoptimization tool.

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

};

buildInputs = [
cmake
Copy link
Member

Choose a reason for hiding this comment

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

cmake and makeWrapper are nativeBuildInputs.

Copy link
Member Author

Choose a reason for hiding this comment

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

Excellent point, as a person who has worked heavily on Nix cross-compilation to Windows I really should have remembered that fact.


meta = with stdenv.lib; {
description = "A superoptimizer for LLVM IR";
homepage = "https://github.com/google/souper";
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: You don't need quotes around URLs.

Copy link
Member Author

Choose a reason for hiding this comment

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

URL literals complicate parsing for very little benefit (see this issue for more details), so I wouldn't be surprised if they were deprecated in the future.

Copy link
Member

Choose a reason for hiding this comment

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

I wasn't are of this issue. Thank you!

Copy link
Member

@vcunat vcunat Feb 8, 2017

Choose a reason for hiding this comment

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

Eelco seems to be against deprecating them, so it's unlikely to happen fully. (It might happen for non-URL URIs.)

@pSub pSub merged commit 39f2bf0 into NixOS:master Feb 8, 2017
@dtzWill dtzWill mentioned this pull request May 10, 2017
7 tasks
@taktoa taktoa deleted the souper branch September 18, 2017 19:57
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

4 participants