Bug 59418

Summary: Turn off make built-in implicit rules for derived sources makefile
Product: WebKit Reporter: Mihai Parparita <mihaip>
Component: Tools / TestsAssignee: Mihai Parparita <mihaip>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, commit-queue, eric, evan, mrowe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.6   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Mihai Parparita 2011-04-25 22:33:13 PDT
Turn off make built-in implicit rules for derived sources makefile
Comment 1 Mihai Parparita 2011-04-25 22:34:44 PDT
Created attachment 91055 [details]
Patch
Comment 2 Mihai Parparita 2011-04-25 22:36:16 PDT
Seems to make the biggest difference (a couple of seconds) for Source/WebCore/DerivedSources.make.
Comment 3 Eric Seidel (no email) 2011-04-25 22:44:23 PDT
I'm confused as to what this does?
Comment 4 Adam Barth 2011-04-25 22:45:38 PDT
Comment on attachment 91055 [details]
Patch

Any reason why the -r is at the end of the line?  I would have put it near the beginning, but I'm not sure it matters.
Comment 5 Adam Barth 2011-04-25 22:46:04 PDT
       -r, --no-builtin-rules
            Eliminate  use of the built-in implicit rules.  Also clear out the
            default list of suffixes for suffix rules.
Comment 6 Adam Barth 2011-04-25 22:46:33 PDT
Maybe use the expanded form so folks who aren't make experts will understand later?
Comment 7 Mihai Parparita 2011-04-25 22:49:17 PDT
(In reply to comment #3)
> I'm confused as to what this does?

GNU make has a bunch of implicit rules: http://www.gnu.org/software/make/manual/make.html#Catalogue-of-Rules. See "In porting our build to Make I learned a lot about it" paragraph from http://neugierig.org/software/chromium/notes/2011/02/ninja.html
Comment 8 Mihai Parparita 2011-04-25 22:49:34 PDT
(In reply to comment #6)
> Maybe use the expanded form so folks who aren't make experts will understand later?

Will do.
Comment 9 Mihai Parparita 2011-04-25 22:55:57 PDT
Created attachment 91059 [details]
Patch for landing
Comment 10 WebKit Commit Bot 2011-04-26 03:08:26 PDT
Comment on attachment 91059 [details]
Patch for landing

Clearing flags on attachment: 91059

Committed r84900: <http://trac.webkit.org/changeset/84900>
Comment 11 WebKit Commit Bot 2011-04-26 03:08:31 PDT
All reviewed patches have been landed.  Closing bug.