-
-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore caching of scanned Fortran modules
When splitting the old mods_and_includes, which was used to cache both discovered types for any future scan of the same base file, we lost the ability to cache modules. Now caching those in node.attributes (we can't add a node.modules without changing the slots for class Node, which is another option). Note that at the moment this may not always have the expected results: in the case of variant directories, if there are multiple references to the same base Fortran source file in the build, its node.attributes end up being replaced behind the scenes. There's a lengthy description of the reason for this in SCons.Node.Node.rdirs(). Signed-off-by: Mats Wichmann <mats@linux.com>
- Loading branch information
Showing
2 changed files
with
27 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters