-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[docu] Add new ROOT build option: documentation-building #15160
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
base: master
Are you sure you want to change the base?
Conversation
Test Results 11 files 11 suites 2d 4h 48m 45s ⏱️ Results for commit a9ba8e7. ♻️ This comment has been updated with latest results. |
@ferdymercury is this new mechanism, using cmake, ready to replace the current Makefile technique? if yes how to test it? |
It's almost ready. Just missing the notebook and tutorial part. To test it, just clone my branch. Then: Compile ROOT with CMake flag You probably also need to disable WebCanvas in your .rootrc Note, only specify DOCU_INPUT if you want to build a small part of the docu, to be quicker. Otherwise, it will get the default, which is to build all folders. |
I will try when ready |
I'd say it's ready to try now. |
@ferdymercury
and I get:
|
@ferdymercury This seems to be caused by root/documentation/doxygen/CMakeLists.txt Line 46 in eb2d443
root.exe yet when building doxygen as a step of the ROOT build.
@couet Can you try building without documentation first ( |
Thanks for the review! This might be a platform-dependent issue, it works well in Ubuntu. Or it might be that you are using a tarball instead of git repository? So the conflicting line is:
which is called after: execute_process(COMMAND ${ROOT_root_CMD} -l -b -q -e gROOT->GetGitBranch() OUTPUT_VARIABLE ROOT_GIT_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) Could you post here the output of ROOT_GIT_VERSION before calling REPLACE ? So that I know what to fix. |
@jolly-chen ohh I see what you mean. Maybe it's better then to add a dependency on root.exe for this ? |
@ferdymercury Yes I think this would be fixed with this todo root/documentation/doxygen/CMakeLists.txt Line 22 in eb2d443
|
I'll try and let you know |
I am a bit lost now .. this branch has conflicts ... how to get again the latest version ... ? there is this PR and this one: #15314 that's very confusing |
I've resolved the conflicts now. Try with this one, the other PR is just for later on. |
So, I cloned the ROOT repo in the folder
then which gives me:
So it seems the |
I am rebuilding. By the way, why do we need to specify |
it should be the cxx compiler used for compiling root, not the ROOT executable command
otherwise need to add ../images/ to 4-5 places in the filter.cxx because DOXYGEN_IMAGE_PATH is not well recognized
otherwise you might end up with 26GB large worklist
This Pull request:
Changes or fixes:
This allows to build the documentation as part of the normal ROOT build and sets the basis for integrating it into the GitHub CI. And to test new PullRequests so that they do not break the existing documentation nor do add new warnings to it.
You can still build the documentation as an external project, like is done now.
Status
Draft, still work to do on the notebook / tutorial part.
History
This supersedes the old PR #9966 that I just closed.
The goals were:
Checklist: