[ET Trac] [Einstein Toolkit] #976: Cactus ignors (since r4839 ie #768) changes to param.ccl when recompiling

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jul 13 21:00:34 CDT 2012


#976: Cactus ignors (since r4839 ie #768) changes to param.ccl when recompiling
-----------------------+----------------------------------------------------
  Reporter:  rhaas     |       Owner:        
      Type:  defect    |      Status:  review
  Priority:  critical  |   Milestone:        
 Component:  Cactus    |     Version:        
Resolution:            |    Keywords:        
-----------------------+----------------------------------------------------

Comment (by eschnett):

 If DEP_EXCLUDE_FILES is empty, then we should consider removing the
 functionality, instead of only wrapping it in an if statement.

 I suggest the following dependency fixer, which is (a) simpler, (b) easier
 to understand, and (c) better commented:
 {{{
 # Replace the dependency targets (i.e. the LHS of the make rule) since it
 has the wrong name
 $(PERL) -pi -e 's{^[^:]+:}{$(basename $@).o $(basename $@).d:}' $@
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/976#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list