We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7854e3d commit f5eed82Copy full SHA for f5eed82
core/metacling/src/TCling.cxx
@@ -1208,9 +1208,12 @@ TCling::TCling(const char *name, const char *title)
1208
// to rootcling to set this flag depending on whether it wants to produce
1209
// C++ modules.
1210
TString vfsArg;
1211
+ TString moduleCachePathArg;
1212
if (useCxxModules && !fromRootCling) {
1213
// We only set this flag, rest is done by the CIFactory.
1214
interpArgs.push_back("-fmodules");
1215
+ moduleCachePathArg = "-fmodules-cache-path=" + TROOT::GetLibDir();
1216
+ interpArgs.push_back(moduleCachePathArg.Data());
1217
// We should never build modules during runtime, so let's enable the
1218
// module build remarks from clang to make it easier to spot when we do
1219
// this by accident.
0 commit comments