-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
igprof: init at v5.9.16 #62215
igprof: init at v5.9.16 #62215
Conversation
6536577
to
e22ff20
Compare
For the record, I think I've addressed all the reported concerns. |
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.
Sorry for my late response. I guess that GitHub doesn't notify participants when force-pushing to the topic branch.
owner = pname; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "0glpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x"; |
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'm getting a hash mismatch here:
hash mismatch in fixed-output derivation '/nix/store/db6iz0272sx2iszx3s1813m677g92y8m-source':
wanted: sha256:0glpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x
got: sha256:0rx3mv8zdh9bmcpfbzkib3d52skzfr8600gh5gv21wcsh50jnifx
''; | ||
|
||
license = stdenv.lib.licenses.gpl2; | ||
maintainers = with maintainers; [ ktf ]; |
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.
This doesn't evaluate since maintainers
is an attribute set in stdenv.lib
. A typical pattern to use with maintainers
is to use meta = with stdenv.lib
which makes all attributes from stdenv.lib
available in the meta
block.
sha256 = "0glpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x"; | ||
}; | ||
|
||
nativeBuildInputs = [ 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.
When trying to build this (with the changed hash) I get the following error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
UNWIND_INCLUDE_DIR
used as include directory in directory /build/source
used as include directory in directory /build/source
used as include directory in directory /build/source
used as include directory in directory /build/source
used as include directory in directory /build/source
used as include directory in directory /build/source
used as include directory in directory /build/source
used as include directory in directory /build/source
UNWIND_LIBRARY
linked by target "igprof" in directory /build/source
-- Configuring incomplete, errors occurred!
See also "/build/source/build/CMakeFiles/CMakeOutput.log".
See also "/build/source/build/CMakeFiles/CMakeError.log".
builder for '/nix/store/5w2c4d5kn4c7camm5nbc43h23y9i5nlw-igprof-5.9.16.drv' failed with exit code 1
Apologies, I pushed from the wrong directory... :-/ |
New version should be fine. |
Build and tested locally. Let's wait for ofborg to finish and merge then. |
@ktf thanks! |
Motivation for this change
Add IgProf profiler.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)