-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ROOT fails to build many builtins with CMake 3.30 (>=3.28) (when building in parallel (-j N)) #16733
Comments
Is it really a ROOT bug? Or a CMake one? 🤔 |
OK, so apparently it's only |
FYI there is the same error with |
OK, I found a work-around. PR is coming soon. And note that the issue is not present on Windows |
It probably depends on which builtins you enable?
|
Oh crap! I can't build XRootD... OK, thanks! I'll do the same with XRootD. Anything else? |
Note that would be interesting to see if it's possible to build XRootD in parallel outside ROOT |
I haven't found anything else so far. Do you have a cmake command to enable all builtins? And yes we build xrootd outside of ROOT for the LCG stacks with cmake 3.30 without problems. |
I don't think so
OK, so I'll have to spend more time on this... Thanks Andre! |
ccmake to the rescue...
FFTW3
freetype (in the configure step??? 😕 )
|
cfitsio
I couldn't enable builtin_zlib, gave some other cmake error
|
OK, thanks André! It looks like CMake is badly broken... |
Looking there: https://www.kitware.com/cmake-3-28-0-rc5-is-ready-for-testing/ |
Adding |
For XROOTD I didn't see BUILD_JOB_SERVER_AWARE helping, the doc also says that it only applies to explicit BUILD_COMMANDS, which XROOTD doesn't have, it only has an explicit INSTALL_COMMAND. For FREETYPE I saw no difference until I changed |
See also the discussion here: https://gitlab.kitware.com/cmake/cmake/-/issues/26398 |
Thanks André! |
OK, so simply disabling the |
Check duplicate issues.
Description
With newer versions of cmake like 3.30.5 at least some of ExternalProject_Add'ed builtins fail to compile with an error like
(here builtin PCRE failed)
I don't know with which version of cmake this starts failing, but we (SPI/LCG) moved from 3.26.2 to 3.30.
Unless one limits oneself to a small number of
--jobs
?Reproducer
On lxplus or equivalent machines with CVMFS for example
ROOT version
any? (definitely HEAD)
Installation method
build from source
Operating system
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: