-
Notifications
You must be signed in to change notification settings - Fork 64
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
Increased platform support for PCU #412
Conversation
Add CMake check for mallctl and use it in PCU_GetMem if available. Add private PCU link to libexecinfo on BSD. Enable pcu/reel/reel.c functions on BSD. Signed-off-by: Aiden Woodruff <[email protected]>
This builds successfully on our FreeBSD VM. |
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.
LGTM. Thank you. There is one small change/comment.
Signed-off-by: Aiden Woodruff <[email protected]>
Removed if(GNU or CLANG) because if these checks pass, we can use it on non-GNU systems as well. Removed get_chunks() in test/describe.cc and replaced get_peak() with PCU_GetMem(). Signed-off-by: Aiden Woodruff <[email protected]>
@bobpaw Thank you for working on this. Please change it to an 'active' (i.e., not draft) PR when its ready for another review. |
Confirmed that tests pass on our BSD box. Marking ready for review. |
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.
LGTM. Thank you.
Increased platform support for PCU
Add CMake check for mallctl and use it in PCU_GetMem if available (for BSD).
Add private PCU link to libexecinfo on BSD.
Enable pcu/reel/reel.c functions on BSD.
Make PUMI_HAS_MALLINFO, PUMI_HAS_MALLINFO2, PUMI_HAS_MALLCTL private compiler definitions for pcu.
Fixes #409