-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
souper: init at 2017-01-05 #22468
Conversation
}; | ||
|
||
buildInputs = [ | ||
cmake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmake and makeWrapper are nativeBuildInput
s.
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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.)
Motivation for this change
souper
is an LLVM-based superoptimization tool.Things done
(nix.useSandbox on NixOS, or option
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)