RESOLVED LATER 36785
[Qt, Gtk] Allows build-webkit script to accept custom make command as parameter
https://bugs.webkit.org/show_bug.cgi?id=36785
Summary [Qt, Gtk] Allows build-webkit script to accept custom make command as parameter
Rodrigo Belem
Reported 2010-03-29 15:02:06 PDT
The build-webkit script lacks for a parameter to set a custom make command. A debian/rules snippet as a real world example. build-stamp: dh_testdir WebKitTools/Scripts/build-webkit --qt --make=$(QMAKE) This enables the dpkg-buildpackage get the make arguments, like -j parameter for distributed builds.
Attachments
Patch that adds the --make option. (4.33 KB, patch)
2010-03-29 15:15 PDT, Rodrigo Belem
hausmann: review-
Rodrigo Belem
Comment 1 2010-03-29 15:15:55 PDT
Created attachment 51971 [details] Patch that adds the --make option.
Rodrigo Belem
Comment 2 2010-03-29 15:17:07 PDT
Adding the keywords qt and gtk.
Rodrigo Belem
Comment 3 2010-03-30 07:17:17 PDT
I made a mistake. (In reply to comment #0) > The build-webkit script lacks for a parameter to set a custom make command. > > A debian/rules snippet as a real world example. > > build-stamp: > dh_testdir > > WebKitTools/Scripts/build-webkit --qt --make=$(QMAKE) > I mean --make=$(MAKE) where I wrote --make=$(QMAKE)
Kenneth Rohde Christiansen
Comment 4 2010-03-30 10:17:46 PDT
How is this different from --makeargs= ? You want to use another make? like gmake? qmake is not a replacement for make, but a companion.
Rodrigo Belem
Comment 5 2010-03-30 11:15:08 PDT
(In reply to comment #4) > How is this different from --makeargs= ? You want to use another make? like > gmake? > When building the qtwebkit debian package with the command dpkg-buildpackage -rfakeroot -j15 and using --makeargs=$(MAKEFLAGS) as following WebKitTools/Scripts/build-webkit --qt --makeargs=$(MAKEFLAGS) It does not passes the -j15 correctly to the make command. With the attached patch and the following command in the debian/rules, it works as desired. WebKitTools/Scripts/build-webkit --qt --make=$(MAKE) > qmake is not a replacement for make, but a companion. Sorry. That was a typo.
Gustavo Noronha (kov)
Comment 6 2010-04-02 12:43:03 PDT
(In reply to comment #5) > When building the qtwebkit debian package with the command > > dpkg-buildpackage -rfakeroot -j15 > > and using --makeargs=$(MAKEFLAGS) as following > > WebKitTools/Scripts/build-webkit --qt --makeargs=$(MAKEFLAGS) > > It does not passes the -j15 correctly to the make command. With the attached > patch and the following command in the debian/rules, it works as desired. Why not fix the usage of --makeargs, instead, then? I am assuming it should work for your case (in fact, using -j was precisely why it got added in the first place).
Simon Hausmann
Comment 7 2010-04-28 12:48:04 PDT
Comment on attachment 51971 [details] Patch that adds the --make option. (In reply to comment #6) > (In reply to comment #5) > > When building the qtwebkit debian package with the command > > > > dpkg-buildpackage -rfakeroot -j15 > > > > and using --makeargs=$(MAKEFLAGS) as following > > > > WebKitTools/Scripts/build-webkit --qt --makeargs=$(MAKEFLAGS) > > > > It does not passes the -j15 correctly to the make command. With the attached > > patch and the following command in the debian/rules, it works as desired. > > Why not fix the usage of --makeargs, instead, then? I am assuming it should > work for your case (in fact, using -j was precisely why it got added in the > first place). I agree, fixing the quoting sounds like the better thing to do.
Kenneth Rohde Christiansen
Comment 8 2010-05-11 12:14:04 PDT
Rodrigo do you want to assign this one to you?
Zan Dobersek
Comment 9 2012-10-05 12:31:24 PDT
Is there still interest in getting this done?
Martin Robinson
Comment 10 2014-04-08 18:34:57 PDT
I'm thinking this isn't a big problem any longer, since no one has complained or submitted a fix.
Note You need to log in before you can comment on or make changes to this bug.