Commit 1648743
committed
[Make] Use workspace builds by default
https://bugs.webkit.org/show_bug.cgi?id=242625
Reviewed by Alexey Proskuryakov.
Use the currently-selected workspace [1] for Make-based builds. This
improves build performance as it has in other build workflows, by doing
a parallel scheme-based build instead of building each project
sequentially.
The old, manually ordered build workflow can be used by passing
USE_WORKSPACE=NO to Make.
* Makefile: USE_WORKSPACE enabled by default.
* Makefile.shared: USE_WORKSPACE enabled by default. Avoid checking the
value of USE_WORKSPACE when deciding whether to print a scheme vs. a
project name.
* Source/Makefile: USE_WORKSPACE enabled by default.
* Source/bmalloc/bmalloc.xcodeproj/xcshareddata/xcschemes/bmalloc.xcscheme: Added.
Needed so that Source/bmalloc can be built via the workspace.
* Tools/Makefile: USE_WORKSPACE enabled by default.
MobileMiniBrowser was being built by `make -C Tools`, but was never
added to the "All Tools" scheme. Add an aggregate which builds
MobileMiniBrowser, but only during iOS builds (like we did for
MiniBrowser and Mac in https://commits.webkit.org/251501@main).
* Tools/MobileMiniBrowser/Configurations/Base.xcconfig: Move
SUPPORTED_PLATFORMS logic down to MobileMiniBrowser.xcconfig, so the
aggregate target can use platform filtering.
* Tools/MobileMiniBrowser/Configurations/MobileMiniBrowser.xcconfig:
* Tools/MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj:
Add the new `MobileMiniBrowser (Platform filters)` target to the
relevant schemes.
* WebKit.xcworkspace/xcshareddata/xcschemes/All Modules.xcscheme:
* WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme:
[1]: A workspace is selected automatically when making a "top-level"
build, such as building the entire WebKit tree. Once a workspace is
selected, single-projects builds (e.g. make -C Source/WebCore) use the
same workspace, preserving incremental build data. This allows engineers
building the internal tree to iterate on individual projects while still
being able to make incremental workspace builds. See
https://commits.webkit.org/252363@main for more information.
Canonical link: https://commits.webkit.org/252794@main1 parent c55c39c commit 1648743
File tree
10 files changed
+189
-15
lines changed- Source
- Tools
- MobileMiniBrowser
- Configurations
- MobileMiniBrowser.xcodeproj
10 files changed
+189
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
128 | | - | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 70 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
| 26 | + | |
Lines changed: 81 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
11 | 25 | | |
| |||
44 | 58 | | |
45 | 59 | | |
46 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
47 | 68 | | |
48 | 69 | | |
49 | 70 | | |
| |||
302 | 323 | | |
303 | 324 | | |
304 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
305 | 329 | | |
306 | 330 | | |
307 | 331 | | |
| |||
320 | 344 | | |
321 | 345 | | |
322 | 346 | | |
| 347 | + | |
323 | 348 | | |
324 | 349 | | |
325 | 350 | | |
| |||
396 | 421 | | |
397 | 422 | | |
398 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
399 | 430 | | |
400 | 431 | | |
401 | 432 | | |
| |||
438 | 469 | | |
439 | 470 | | |
440 | 471 | | |
441 | | - | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
442 | 476 | | |
443 | 477 | | |
444 | 478 | | |
| |||
451 | 485 | | |
452 | 486 | | |
453 | 487 | | |
454 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
455 | 492 | | |
456 | 493 | | |
457 | 494 | | |
| |||
462 | 499 | | |
463 | 500 | | |
464 | 501 | | |
465 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
466 | 507 | | |
467 | 508 | | |
468 | 509 | | |
| |||
473 | 514 | | |
474 | 515 | | |
475 | 516 | | |
476 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
477 | 522 | | |
478 | 523 | | |
479 | 524 | | |
| |||
491 | 536 | | |
492 | 537 | | |
493 | 538 | | |
494 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
495 | 544 | | |
496 | 545 | | |
497 | 546 | | |
| |||
511 | 560 | | |
512 | 561 | | |
513 | 562 | | |
514 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
515 | 568 | | |
516 | 569 | | |
517 | 570 | | |
| |||
520 | 573 | | |
521 | 574 | | |
522 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
523 | 588 | | |
524 | 589 | | |
525 | 590 | | |
| |||
559 | 624 | | |
560 | 625 | | |
561 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
562 | 636 | | |
563 | 637 | | |
564 | 638 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
191 | 205 | | |
192 | 206 | | |
193 | 207 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
23 | 37 | | |
24 | 38 | | |
25 | 39 | | |
| |||
0 commit comments