Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Also preload Graf
  • Loading branch information
Teemperor authored and vgvassilev committed Nov 28, 2017
commit 261652879ec6f96b5534296fa06050315bcdb0c2
3 changes: 2 additions & 1 deletion core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,6 @@ static void LoadCoreModules(cling::Interpreter &interp)
clang::ModuleMap &moduleMap = headerSearch.getModuleMap();
// List of core modules we can load, but it's ok if they are missing because
// the system doesn't have these modules.

if (clang::Module *LIBCM = moduleMap.findModule("libc"))
if (!LoadModule(LIBCM->Name, interp))
Error("TCling::LoadCoreModules", "Cannot load module %s", LIBCM->Name.c_str());
Expand Down Expand Up @@ -1163,6 +1162,8 @@ static void LoadCoreModules(cling::Interpreter &interp)
Error("TCling::LoadCodeModules", "Cannot load module TreePlayer");
if (!LoadModule(moduleMap.findModule("TMVA")->Name, interp))
Error("TCling::LoadCodeModules", "Cannot load module TMVA");
if (!LoadModule(moduleMap.findModule("Graf")->Name, interp))
Error("TCling::LoadCodeModule", "Cannot load module Graf");
}
}

Expand Down