-
Notifications
You must be signed in to change notification settings - Fork 35
Add strings with UMF version and useful CMake options #992
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
Add strings with UMF version and useful CMake options #992
Conversation
a68991a
to
351aff4
Compare
please paste example output in PR description |
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.
as for your question/TODO add info to README.md ?
- I believe we could add a new section "Debugging", perhaps in the CONTRIBUTING.md
yeah, I agree, it'd be nice to have a full example output, to see which vars are included |
not sure if we should leak build information, like paths in build system. |
hmm maybe we could just log UMF build options - this should be easy with this code snippet :)
|
Done |
Done |
351aff4
to
0925bb1
Compare
0925bb1
to
bf701ee
Compare
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.
beside minor issues, LGTM
Add strings with UMF version and useful CMake options that can be grepped in the following way: $ strings libumf.so | grep "@(#)" @(#) Intel(R) UMF version: 0.11.0-dev.git66.g89e3831d @(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug,... Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
bf701ee
to
0f8b59d
Compare
Description
Add strings with UMF version and useful CMake variables that can be grepped in the following way:
Checklist