RESOLVED FIXED 200476
Enable XCBuild for `make` builds
https://bugs.webkit.org/show_bug.cgi?id=200476
Summary Enable XCBuild for `make` builds
Keith Rollin
Reported 2019-08-06 12:51:36 PDT
All projects have now been tested under XCBuild and successfully build. Enable the use of XCBuild when performing builds with `make` and when using a sufficient version of Xcode. We set this version to Xcode 11 since Xcode 10 -- even though it supports XCBuild -- does not support a build facility needed to build WebKit (Bug 197072, Bug 197116, Bug 197340). Do not enable XCBuild in the Xcode projects themselves since these projects may need to be used under older versions of Xcode and there's no way to make those project changes sensitive to the version of Xcode being used. This means that builds performed in the Xcode IDE will not use XCBuild. <rdar://problem/50771065>
Attachments
Patch (1.83 KB, patch)
2019-08-06 12:54 PDT, Keith Rollin
no flags
Patch (1.87 KB, patch)
2019-08-06 12:57 PDT, Keith Rollin
no flags
Keith Rollin
Comment 1 2019-08-06 12:54:22 PDT
Keith Rollin
Comment 2 2019-08-06 12:56:19 PDT
This change also supports XCBuild with build-webkit. I'll update the patch to note that.
Keith Rollin
Comment 3 2019-08-06 12:57:29 PDT
Jonathan Bedard
Comment 4 2019-08-06 13:00:01 PDT
(In reply to Keith Rollin from comment #0) > All projects have now been tested under XCBuild and successfully build. > Enable the use of XCBuild when performing builds with `make` and when using > a sufficient version of Xcode. We set this version to Xcode 11 since Xcode > 10 -- even though it supports XCBuild -- does not support a build facility > needed to build WebKit (Bug 197072, Bug 197116, Bug 197340). > > Do not enable XCBuild in the Xcode projects themselves since these projects > may need to be used under older versions of Xcode and there's no way to make > those project changes sensitive to the version of Xcode being used. This > means that builds performed in the Xcode IDE will not use XCBuild. > > <rdar://problem/50771065> Which versions of Xcode don't have XCBuild, at this point?
Keith Rollin
Comment 5 2019-08-06 13:06:54 PDT
Xcode 8 does not support XCBuild. Xcode 9 supports XCBuild, but there were some bugs. Xcode 10 supports XCBuild, but doesn't have the new feature we require.
WebKit Commit Bot
Comment 6 2019-08-06 14:57:59 PDT
Comment on attachment 375645 [details] Patch Clearing flags on attachment: 375645 Committed r248317: <https://trac.webkit.org/changeset/248317>
WebKit Commit Bot
Comment 7 2019-08-06 14:58:00 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.