pymake should copy gmake behavior of not rebuilding targets with no commands, even if they're out of date

RESOLVED FIXED in mozilla15

Status

()

Core
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: khuey, Assigned: khuey)

Tracking

unspecified
mozilla15
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Given:

all: obj

obj: header
	touch obj

header: cpp

cpp:
	touch header
	touch cpp

On the second pass pymake will decide that header is out of date, and rebuild it.  It will then rebuild obj because header was rebuilt, even though header did not change.  Gmake will decide that rebuilding header serves no purpose since it has no rule, and skip it.  It will then not rebuild obj.
Blocks: 755691
Created attachment 624466 [details] [diff] [review]
Patch
Attachment #624466 - Flags: review?(ted.mielczarek)
Attachment #624466 - Flags: review?(ted.mielczarek) → review+
http://hg.mozilla.org/users/bsmedberg_mozilla.com/pymake/rev/7b1a8cd06963
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 3

5 years ago
https://hg.mozilla.org/projects/build-system/rev/e5e7f60fe0be
Target Milestone: --- → mozilla15
And migrated to m-c https://hg.mozilla.org/mozilla-central/rev/e5e7f60fe0be
You need to log in before you can comment on or make changes to this bug.