summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2009-11-17 20:48:25 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2009-11-17 20:48:25 +0000
commitabef2076a0643556b50b259fbb7e2943198833da (patch)
tree2307ecf055ae11d8ef02232b92534794d7c19a16 /lib
parent8a531505740bb956a25a80f68242ca056270474d (diff)
Ignore system module "omp_lib" when collecting Fortran dependencies
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4583 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rwxr-xr-xlib/sbin/f_depend_modules.pl18
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/sbin/f_depend_modules.pl b/lib/sbin/f_depend_modules.pl
index f3fdb272..2666573d 100755
--- a/lib/sbin/f_depend_modules.pl
+++ b/lib/sbin/f_depend_modules.pl
@@ -163,14 +163,16 @@ while (<STDIN>)
}
if (! $found)
{
- print STDERR "$srcfile:$line: Warning: While tracing module dependencies: Source file for module \"$name\" not found\n";
- if (@otherdirs)
- {
- print STDERR " Searched in thorn directory and in [" . join(', ', @otherdirs) . "]\n";
- }
- else
- {
- print STDERR " Searched in thorn directory only.\n";
+ if ("\L$name" ne "omp_lib") {
+ print STDERR "$srcfile:$line: Warning: While tracing module dependencies: Source file for module \"$name\" not found\n";
+ if (@otherdirs)
+ {
+ print STDERR " Searched in thorn directory and in [" . join(', ', @otherdirs) . "]\n";
+ }
+ else
+ {
+ print STDERR " Searched in thorn directory only.\n";
+ }
}
}
}