You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explain what you would like to see improved and how.
The main obstacle to compiling root with nvc++ is the extraction of the system headers by cling. With gcc, this is done via g++ -xc++ -E -v /dev/null and then a sed script to extract the paths in interpreter/cling/lib/Interpreter/CMakeLists.cxx. This doesn't work with nvc++, but a new flag in hpc sdk version 24.11 was added explicitly for this: -drygccinc. I can offer a patch for this file, but there are a LOT of different code paths through it, and I'm not certain of what they all do, so I probably haven't covered all use cases:
Explain what you would like to see improved and how.
The main obstacle to compiling root with nvc++ is the extraction of the system headers by cling. With gcc, this is done via
g++ -xc++ -E -v /dev/null
and then a sed script to extract the paths in interpreter/cling/lib/Interpreter/CMakeLists.cxx. This doesn't work with nvc++, but a new flag in hpc sdk version 24.11 was added explicitly for this:-drygccinc
. I can offer a patch for this file, but there are a LOT of different code paths through it, and I'm not certain of what they all do, so I probably haven't covered all use cases:Also, we can add NVHPC to the list of supported compilers in cmake/modules/CheckCompiler.cmake:
ROOT version
tried with 6.33.01
Installation method
build from source
Operating system
linux alma9
Additional context
requires at least v24.11 of NVIDIA nvc++
The text was updated successfully, but these errors were encountered: