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 committed Mar 25, 2024
1 parent 239cafe commit 47b204e
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 47b204e

Please sign in to comment.