Skip to content

Commit

Permalink
[runtime_cxxmodules] Allow for changing the modulemap name to match t…
Browse files Browse the repository at this point in the history
…he overlay.

Fixes root-project#14964
  • Loading branch information
vgvassilev authored and lobis committed Apr 10, 2024
1 parent 708b369 commit ba75ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/cling/lib/Interpreter/CIFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ namespace {
cling::log() << "'" << systemLoc << "' does not exist. Mounting '"
<< originalLoc.str() << "' as '" << systemLoc << "'\n";

if (!HSOpts.ImplicitModuleMaps && !llvm::sys::fs::exists(systemLoc.str())) {
if (!HSOpts.ImplicitModuleMaps) {
modulemapFilename = Filename;
llvm::sys::path::remove_filename(systemLoc);
llvm::sys::path::append(systemLoc, modulemapFilename);
Expand Down

0 comments on commit ba75ea9

Please sign in to comment.