Skip to content

Commit

Permalink
[cxxmodules] Enable global module indexing by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev committed Mar 6, 2020
1 parent 9bf9d6b commit a7869de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ static void RegisterCxxModules(cling::Interpreter &clingInterp)

clang::CompilerInstance &CI = *clingInterp.getCI();
GlobalModuleIndex *GlobalIndex = nullptr;
if (gSystem->Getenv("ROOT_EXPERIMENTAL_GMI")) {
if (!gSystem->Getenv("ROOT_DISABLE_GMI")) {
loadGlobalModuleIndex(SourceLocation(), clingInterp);
GlobalIndex = CI.getModuleManager()->getGlobalIndex();
}
Expand Down

0 comments on commit a7869de

Please sign in to comment.