mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 12:53:55 +08:00
IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generators
The Makefile generators use an internal `cmake -E cmake_copy_f90_mod` tool to avoid rebuilding module consumers when the `.mod` content changes only in a trivial way (e.g. the time it was built). This is done with logic specific to each vendor's module file format. Enable the "Intel" format support when using the IntelLLVM compiler (ifx) too. Issue: #22922
This commit is contained in:
@@ -653,7 +653,7 @@ bool cmDependsFortran::ModulesDiffer(const std::string& modFile,
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else if (compilerId == "Intel") {
|
||||
} else if (compilerId == "Intel" || compilerId == "IntelLLVM") {
|
||||
const char seq[2] = { '\n', '\0' };
|
||||
const int seqlen = 2;
|
||||
|
||||
|
Reference in New Issue
Block a user