RESOLVED FIXED204477
Set 64-bit as default architecture on Windows
https://bugs.webkit.org/show_bug.cgi?id=204477
Summary Set 64-bit as default architecture on Windows
Per Arne Vollan
Reported 2019-11-21 15:57:40 PST
This will make 64-bit building and testing the default.
Attachments
Patch (1.06 KB, patch)
2019-11-21 15:59 PST, Per Arne Vollan
no flags
Patch (1.74 KB, patch)
2019-11-21 17:11 PST, Per Arne Vollan
no flags
Patch (1.74 KB, patch)
2019-11-22 11:11 PST, Per Arne Vollan
no flags
Patch (1.74 KB, patch)
2019-11-22 14:23 PST, Per Arne Vollan
no flags
Patch (1.71 KB, patch)
2019-11-22 16:10 PST, Per Arne Vollan
ross.kirsling: review+
Patch (2.13 KB, patch)
2019-11-22 17:50 PST, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2019-11-21 15:59:22 PST
Brent Fulgham
Comment 2 2019-11-21 16:06:35 PST
Comment on attachment 384100 [details] Patch Yes, please!
Per Arne Vollan
Comment 3 2019-11-21 17:11:06 PST
Per Arne Vollan
Comment 4 2019-11-22 11:11:09 PST
Jonathan Bedard
Comment 5 2019-11-22 13:10:16 PST
While the code looks fine, I'm a not super excited about landing a Windows change that's failing the Windows build in EWS.
Per Arne Vollan
Comment 6 2019-11-22 14:23:07 PST
Per Arne Vollan
Comment 7 2019-11-22 14:48:09 PST
(In reply to Jonathan Bedard from comment #5) > While the code looks fine, I'm a not super excited about landing a Windows > change that's failing the Windows build in EWS. The build failures are addressed in https://bugs.webkit.org/show_bug.cgi?id=204534.
Ross Kirsling
Comment 8 2019-11-22 15:12:17 PST
Comment on attachment 384197 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384197&action=review > Tools/Scripts/webkitdirs.pm:1295 > - $isWin64 = checkForArgumentAndRemoveFromARGV("--64-bit") || ((isFTW() || isWinCairo() || isJSCOnly()) && !shouldBuild32Bit()); > + $isWin64 = checkForArgumentAndRemoveFromARGV("--64-bit") || ((isFTW() || isWinCairo() || isAppleWinWebKit() || isJSCOnly()) && !shouldBuild32Bit()); Should we do `isAnyWindows()` instead of `isFTW() || isWinCairo() || isAppleWinWebKit()`? (I guess we have the same trio in determineConfigurationProductDir, but it seems needless to give the complete list, right?)
Ross Kirsling
Comment 9 2019-11-22 15:19:58 PST
Also we can remove this line, which seems to have been added unnecessarily: https://github.com/WebKit/webkit/blob/master/Tools/Scripts/webkitdirs.pm#L498
Per Arne Vollan
Comment 10 2019-11-22 15:28:51 PST
(In reply to Ross Kirsling from comment #8) > Comment on attachment 384197 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=384197&action=review > > > Tools/Scripts/webkitdirs.pm:1295 > > - $isWin64 = checkForArgumentAndRemoveFromARGV("--64-bit") || ((isFTW() || isWinCairo() || isJSCOnly()) && !shouldBuild32Bit()); > > + $isWin64 = checkForArgumentAndRemoveFromARGV("--64-bit") || ((isFTW() || isWinCairo() || isAppleWinWebKit() || isJSCOnly()) && !shouldBuild32Bit()); > > Should we do `isAnyWindows()` instead of `isFTW() || isWinCairo() || > isAppleWinWebKit()`? > That makes sense, I will update the patch. > (I guess we have the same trio in determineConfigurationProductDir, but it > seems needless to give the complete list, right?) Thanks for reviewing!
Per Arne Vollan
Comment 11 2019-11-22 16:10:41 PST
Ross Kirsling
Comment 12 2019-11-22 17:43:50 PST
Comment on attachment 384212 [details] Patch r=me, but can we also remove the redundant `push(@args, '--64-bit') if (isFTW());` line I mentioned in comment 9?
Per Arne Vollan
Comment 13 2019-11-22 17:50:51 PST
Per Arne Vollan
Comment 14 2019-11-22 17:51:23 PST
(In reply to Ross Kirsling from comment #12) > Comment on attachment 384212 [details] > Patch > > r=me, but can we also remove the redundant `push(@args, '--64-bit') if > (isFTW());` line I mentioned in comment 9? Done. Thanks for reviewing!
Per Arne Vollan
Comment 15 2019-11-22 17:52:10 PST
Will land this once the EWS bots are green.
WebKit Commit Bot
Comment 16 2019-11-22 21:37:54 PST
Comment on attachment 384217 [details] Patch Clearing flags on attachment: 384217 Committed r252827: <https://trac.webkit.org/changeset/252827>
Radar WebKit Bug Importer
Comment 17 2019-12-02 09:39:23 PST
Note You need to log in before you can comment on or make changes to this bug.