WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116897
[Qt] Build overrides -j when given --makeargs="-sj40"
https://bugs.webkit.org/show_bug.cgi?id=116897
Summary
[Qt] Build overrides -j when given --makeargs="-sj40"
Brendan Long
Reported
2013-05-28 15:51:31 PDT
[Qt] Build overrides -j when given --makeargs="-sj40"
Attachments
Patch
(1.35 KB, patch)
2013-05-28 15:53 PDT
,
Brendan Long
no flags
Details
Formatted Diff
Diff
Fix MAKEFLAGS check
(1.39 KB, patch)
2013-06-26 07:53 PDT
,
Brendan Long
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from APPLE-EWS-6 for win-future
(802.64 KB, application/zip)
2013-06-26 13:29 PDT
,
Build Bot
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brendan Long
Comment 1
2013-05-28 15:53:45 PDT
Created
attachment 203103
[details]
Patch
Brendan Long
Comment 2
2013-05-28 15:57:50 PDT
Basically, if I do Tools/Scripts/build-webkit --qt --debug --makeargs="-sj40", it does this:
> Calling 'make -sj40 -j8 incremental' in /home/blong/workspace/webkit/WebKitBuild/Debug
With my fix, it does this:
> Calling 'make -sj40 incremental' in /home/blong/workspace/webkit/WebKitBuild/Debug
If you do `--makeargs="-j40"`, it works as expected:
> Calling 'make -j40 incremental' in /home/blong/workspace/webkit/WebKitBuild/Debug
Same with `--makeargs="-s"`:
> Calling 'make -s -j8 incremental' in /home/blong/workspace/webkit/WebKitBuild/Debug
Or without `--makeargs`:
> Calling 'make -j8 incremental' in /home/blong/workspace/webkit/WebKitBuild/Debug
Brendan Long
Comment 3
2013-05-28 16:05:23 PDT
Oh, and --makeargs="-s -j40" fails too, because the -s is being passed to qmake. I'm not sure how to fix that one though.
> $ gst-git Tools/Scripts/build-webkit --qt --debug --makeargs="-s -j40" --video-track --no-svg --no-webkit2; alert > Calling 'qmake /home/blong/workspace/webkit/WebKit.pro -j40 WEBKIT_CONFIG-=build_webkit2 WEBKIT_CONFIG-=svg WEBKIT_CONFIG+=video_track CONFIG-=release CONFIG+=debug CONFIG-=production_build' in /home/blong/workspace/webkit/WebKitBuild/Debug > > ***Unknown option -j40
Brendan Long
Comment 4
2013-06-05 13:43:01 PDT
CC'ing the last person to change this line. I hope that's not annoying.
Csaba Osztrogonác
Comment 5
2013-06-26 01:07:47 PDT
Comment on
attachment 203103
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203103&action=review
> Tools/Scripts/webkitdirs.pm:2227 > - if ($make eq "make" && $makeargs !~ /-j\s*\d+/i && (!defined $ENV{"MAKEFLAGS"} || ($ENV{"MAKEFLAGS"} !~ /-j\s*\d+/i ))) { > + if ($make eq "make" && $makeargs !~ /-[^\s]*?j\s*\d+/i && (!defined $ENV{"MAKEFLAGS"} || ($ENV{"MAKEFLAGS"} !~ /-j\s*\d+/i ))) {
LGTM, but please fix the regexp of MAKEFLAGS too.
Brendan Long
Comment 6
2013-06-26 07:53:53 PDT
Created
attachment 205489
[details]
Fix MAKEFLAGS check
Build Bot
Comment 7
2013-06-26 13:29:39 PDT
Comment on
attachment 205489
[details]
Fix MAKEFLAGS check
Attachment 205489
[details]
did not pass win-ews (win): Output:
http://webkit-queues.appspot.com/results/995034
New failing tests: fast/frames/seamless/seamless-nested-crash.html
Build Bot
Comment 8
2013-06-26 13:29:41 PDT
Created
attachment 205521
[details]
Archive of layout-test-results from APPLE-EWS-6 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: APPLE-EWS-6 Port: win-future Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Csaba Osztrogonác
Comment 9
2013-06-27 09:22:59 PDT
Comment on
attachment 205489
[details]
Fix MAKEFLAGS check r=me
Csaba Osztrogonác
Comment 10
2013-06-27 09:23:48 PDT
(In reply to
comment #3
)
> Oh, and --makeargs="-s -j40" fails too, because the -s is being passed to qmake. I'm not sure how to fix that one though. > > > $ gst-git Tools/Scripts/build-webkit --qt --debug --makeargs="-s -j40" --video-track --no-svg --no-webkit2; alert > > Calling 'qmake /home/blong/workspace/webkit/WebKit.pro -j40 WEBKIT_CONFIG-=build_webkit2 WEBKIT_CONFIG-=svg WEBKIT_CONFIG+=video_track CONFIG-=release CONFIG+=debug CONFIG-=production_build' in /home/blong/workspace/webkit/WebKitBuild/Debug > > > > ***Unknown option -j40
strange ... I couldn't reproduce this fail, --makeargs="-s -j40" works for me.
Brendan Long
Comment 11
2013-06-27 09:26:51 PDT
(In reply to
comment #10
)
> strange ... I couldn't reproduce this fail, --makeargs="-s -j40" works for me.
I think it was caused by a change in qmake a month or two ago (I'm using Qt master), but I wouldn't even know where to start on tracking that down.
WebKit Commit Bot
Comment 12
2013-06-27 09:44:53 PDT
Comment on
attachment 205489
[details]
Fix MAKEFLAGS check Clearing flags on attachment: 205489 Committed
r152104
: <
http://trac.webkit.org/changeset/152104
>
WebKit Commit Bot
Comment 13
2013-06-27 09:44:55 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug