@vvassilev do you know if you see such error before in clad?
In file included from /home/ubelix/dbmr/gb20r205/ROOT/root_src/interpreter/llvm/src/tools/clang/include/clang/Frontend/ASTUnit.h:27,
from /home/ubelix/dbmr/gb20r205/ROOT/root_src/interpreter/llvm/src/tools/clang/include/clang/Frontend/FrontendAction.h:24,
from /home/ubelix/dbmr/gb20r205/ROOT/root_src/interpreter/llvm/src/tools/clang/include/clang/Frontend/FrontendPluginRegistry.h:13,
from /home/ubelix/dbmr/gb20r205/ROOT/root_build/interpreter/llvm/src/tools/cling/tools/plugins/clad/clad-prefix/src/clad/tools/ClangPlugin.h:16,
from /home/ubelix/dbmr/gb20r205/ROOT/root_build/interpreter/llvm/src/tools/cling/tools/plugins/clad/clad-prefix/src/clad/tools/ClangPlugin.cpp:7:
/home/ubelix/dbmr/gb20r205/ROOT/root_src/interpreter/llvm/src/tools/clang/include/clang/Serialization/ASTBitCodes.h:23:10: fatal error: llvm/Bitcode/BitCodes.h: No such file or directory
23 | #include "llvm/Bitcode/BitCodes.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Hi Gabriele,
in order to unblock you: you could try adding -Dclad=OFF to your cmake configuration command (cland seems to be the component that fails to compile, but it’s not required to compiler ROOT).
Otherwise, if that’s an option, you could try using a pre-packaged ROOT rather than compiling from source, see https://root.cern/install for all available options.
Cheers,
Enrico
EDIT: you might also ask your system administrators to install ROOT system-wide