-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Extend documentation with CMake options #1812
Comments
I was thinking about fixing this yesterday, and one thought I had was to not put it directly into the installation instructions. Instead, create a Troubleshooting (or Possible Issues) section, and mention it there, along with other potential problems. We don't want most people (e.g. distro maintainers) to set this to OFF by default. Ideally, if a warning is triggered, people would come and report it to us. The risk of documenting it along with more common options is that people will just set it to OFF from the get-go. Thoughts? |
I agree that separating it from the main instructions is a good idea. We could also rubric it under something like "Advanced Configuration" or "Advanced Settings" or the like? A "Troubleshooting" or "Possible Issues" section also sounds good to me, but it might be nice to simply have a list of possible configuration options, instead of necessarily looking at the troubleshooting section to look for configuration options. |
I'd probably go for an "Advanced Configuration" settings chapter, with a big disclaimer at the beginning ("Abandon all expectations, ye who enter here"). Not all CMake options are related to troubleshooting; e.g., the possibility to turn off GraphML support to spare a dependency on |
Sounds like a great idea. If you do want to use that disclaimer, just beware the original Italian says "Abandon all hope..." 😉
…On Wed, Sep 15, 2021, at 07:04, Tamás Nepusz wrote:
I'd probably go for an "Advanced Configuration" settings chapter, with
a big disclaimer at the beginning ("Abandon all expectations, ye who
enter here"). Not all CMake options are related to troubleshooting;
e.g., the possibility to turn off GraphML support to spare a dependency
on `libxml2` is not "troubleshooting", and neither is the option to
configure igraph as 32-bit on a 64-bit platform.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1812 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFEAAURARBL2BCY2JWE53UB62GXANCNFSM5D7WDCAA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I know but I felt that it wouldn't be appropriate here after all :) |
I won't fix this for 0.9.5. Almost all options are already documented: https://igraph.org/c/doc/igraph-Installation.html#igraph-Installation-notable-configuration-options A GUI (either ccmake or cmake-gui) will display relevant options, including We can restructure the docs with an Advanced Configuration section for 0.10. Right now this would be the only "advanced" option. |
Added |
@ntamas I think we should remove it as the current text is confusing. It suggests that the tests are built by default, which is not true. |
@ntamas |
Re Re |
Okay, I'll just remove |
…s it has no practical use, refs #1812
…s it has no practical use, refs #1812
What is the feature or improvement you would like to see?
The installation part in the documentation should be extended with a listing of the most common CMake options.
Use cases for the feature
E.g., turning off
IGRAPH_WARNINGS_AS_ERRORS
is particularly useful for downstream projects that compile igraph as part of their toolchain if the toolchain itself throws warnings that we did not anticipate.References
N/A
The text was updated successfully, but these errors were encountered: