1
0
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:
Brad King
2021-11-17 10:35:12 -05:00
parent 09ef62fd98
commit 209b896f2c

View File

@@ -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;