-
Notifications
You must be signed in to change notification settings - Fork 46
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
Include system information in CMake output #31
Comments
Some ideas for information that would be useful:
|
Hi Hanno, the version of the checked out code must be part of the dump that cmake If possible, also whether the following packages are installed:
and what the value of the env vars
is (or better yet: the complete result of printenv). (see e.g. Also: is it possible to skip producing the documentation targets if no Cheers, On Wed, Jan 15, 2014 at 1:05 PM, hperrey notifications@github.com wrote:
|
last git commit is already printed:
which means it is 1 commit after the tag v0.0.2, and that commit has the hash being However, this is only updated when running |
…ke log: -- Found Git: /usr/bin/git (found version "1.8.3.2") Part of #31.
concerning caching: I wouldn't fight with CMake's cache but tell the users to do
before even attempting to ask any question. Because not having a clean build folder is 80% of the failures already. |
Most other information we can select from the list here: ...and just print them. |
Most of the really useful information is now in the CMake output; I would prefer not to include e.g. environment variables as this would seriously blow up the amount of console output and would make it more difficult to spot errors/warnings. |
Came to my mind while chatting with Urs at coffee: git version and checksum of last git commit will likely not be available if somebody installs the software downloading a tarball from github (an option users later will liekly do who don't want to use git for whatever reason). Should this case be handled somehow or not? |
Simon's CMake code takes care of that: if the |
Yes. So the only thing we have to think of is to update that version number once we tag a new release. I just realize that I already forgot that for v0.2.0 - sorry... |
Done, bumper version to v0.2.1 and update CMakeLists.txt acordingly. New tag there. |
Perfect. Thanks. |
Fixed silver target energy (typo), added zinc energy
Detailed system information in the CMake output could make it easier to identify the cause of a problem from bug reports by users or other developers.
The text was updated successfully, but these errors were encountered: