Adjust the location of the boost modulemap.

This commit is contained in:
Vassil Vassilev 2020-05-26 17:35:53 +00:00 committed by jenkins
parent 02737be6d5
commit 34103455b9

View File

@ -671,9 +671,12 @@ namespace {
if (!cudaIncLoc.empty())
maybeAppendOverlayEntry(cudaIncLoc.str(), "cuda.modulemap",
clingIncLoc.str(), MOverlay);
if (!boostIncLoc.empty())
if (!boostIncLoc.empty()) {
// Add the modulemap in the include/boost folder not in include.
llvm::sys::path::append(boostIncLoc, "boost");
maybeAppendOverlayEntry(boostIncLoc.str(), "boost.modulemap",
clingIncLoc.str(), MOverlay);
}
if (/*needsOverlay*/!MOverlay.empty()) {
// Virtual modulemap overlay file