Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
54cb5a14
Commit
54cb5a14
authored
May 03, 2017
by
Lorenz Huedepohl
Committed by
Andreas Marek
Jun 05, 2018
Browse files
Accelerate the dependency generation by not using files
parent
2165b222
Changes
1
Hide whitespace changes
Inline
Side-by-side
fdep/fortran_dependencies.mk
View file @
54cb5a14
...
@@ -96,19 +96,10 @@ ifneq ($(call is_clean),1)
...
@@ -96,19 +96,10 @@ ifneq ($(call is_clean),1)
include
$(_f90_depfile)
include
$(_f90_depfile)
endif
endif
# $1 string
# $2 file
define
append_to
$(_f90_only_verbose)echo
'$1'
>>
$2
endef
# $1 program
# $1 program
define
program_dependencies
define
program_dependencies
$(_f90_only_verbose)rm
-f
.$p.dep.args
$(_f90_only_verbose){
$(foreach
argument,$(_$p_use_mods)
$(_$p_def_mods)
$(foreach
l,$(call
recursive_lib_deps,$p),$(_$l_use_mods)
$(_$l_def_mods)),echo
$(argument);
)
}
|
\
$(foreach
argument,$(_$p_use_mods)
$(_$p_def_mods)
$(foreach
l,$(call
recursive_lib_deps,$p),$(_$l_use_mods)
$(_$l_def_mods)),$(call
append_to,$(argument),.$p.dep.args))
$(top_srcdir)/fdep/fortran_dependencies.pl
$p
>>
$@
||
{
rm
$@;
exit
1;
}
$(_f90_only_verbose)$(top_srcdir)/fdep/fortran_dependencies.pl
$p
<
.$p.dep.args
>>
$@
||
{
rm
$@;
exit
1;
}
$(_f90_only_verbose)rm
-f
.$p.dep.args
endef
endef
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment