⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 248317 in webkit


Ignore:
Timestamp:
Aug 6, 2019, 2:57:52 PM (7 years ago)
Author:
Keith Rollin
Message:

Enable XCBuild for make and build-webkit builds
https://bugs.webkit.org/show_bug.cgi?id=200476
<rdar://problem/50771065>

Reviewed by Jonathan Bedard.

All projects have now been tested under XCBuild and successfully
build. Enable the use of XCBuild when performing builds with make or
build-webkit 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.

  • Scripts/webkitdirs.pm:

(canUseXCBuild):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r248316 r248317  
     12019-08-06  Keith Rollin  <krollin@apple.com>
     2
     3        Enable XCBuild for `make` and `build-webkit` builds
     4        https://bugs.webkit.org/show_bug.cgi?id=200476
     5        <rdar://problem/50771065>
     6
     7        Reviewed by Jonathan Bedard.
     8
     9        All projects have now been tested under XCBuild and successfully
     10        build. Enable the use of XCBuild when performing builds with `make` or
     11        `build-webkit` and when using a sufficient version of Xcode. We set
     12        this version to Xcode 11 since Xcode 10 -- even though it supports
     13        XCBuild -- does not support a build facility needed to build WebKit
     14        (Bug 197072, Bug 197116, Bug 197340).
     15
     16        Do not enable XCBuild in the Xcode projects themselves since these
     17        projects may need to be used under older versions of Xcode and there's
     18        no way to make those project changes sensitive to the version of Xcode
     19        being used. This means that builds performed in the Xcode IDE will not
     20        use XCBuild.
     21
     22        * Scripts/webkitdirs.pm:
     23        (canUseXCBuild):
     24
    1252019-08-06  Chris Dumez  <cdumez@apple.com>
    226
  • trunk/Tools/Scripts/webkitdirs.pm

    r248075 r248317  
    904904sub canUseXCBuild()
    905905{
     906    if (`xcodebuild -version | grep "Build version"` =~ /Build version (\d+)([a-zA-Z])(\d+)([a-zA-Z]?)/) {
     907        return $1 >= 11;
     908    }
     909
    906910    return 0;
    907911}
Note: See TracChangeset for help on using the changeset viewer.