mainmake - Support: sr #105307, reorder target evaluation

 
 

You are not allowed to post comments on this tracker with your current authentication level.

sr #105307: reorder target evaluation

Submitter:  None
Submitted:  Tue 18 Apr 2006 04:26:14 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Duplicate
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  None

Discussion

Tue 18 Apr 2006 04:47:26 PM UTC, comment #1: 

Closing as a duplicate of bug #105.

Although they're slightly different in detail, the concept is the same and any solution to one should be flexible enough to solve all "ordering enhancements" for make.

Paul D. Smith <psmith>
Group administrator
Tue 18 Apr 2006 04:26:14 PM UTC, original submission:  

When I run make it evaluates a lot of targets based on the dependency rules.  What I would like is a way to have the dispatch of unrelated things occur in an order sorted based on file timestamps.  Example, suppose I have

prog: a.o b.o c.o d.o e.o f.o
  ...
%.o: %.cpp shared.h
  ...

If I modify shared.h everything will recompile.  If that was all I modified, I don't care what order they recompile.  But if I also modified d.cpp at the same time, I would like it to choose to dispatch d.cpp as early as possible, in preference to the other .cpp files.

Since I have a single giant makefile for a very large source tree, it is very difficult for me to reorder the rules to accomplish this.  But when I have touched one header and (say) three scattered source files, getting them to compile first could often save a lot of time.

Anonymous

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

History

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-18 psmith StatusNone Duplicate
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.16-11ef.
Corresponding source code