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

Changeset 197636 in webkit


Ignore:
Timestamp:
Mar 6, 2016, 12:33:29 AM (11 years ago)
Author:
ap@apple.com
Message:

build-webkit prints an error on iOS simulator bots
​https://bugs.webkit.org/show_bug.cgi?id=155078

Reviewed by Dan Bernstein.

This happens when build-layouttestrelay sets $xcodeSDK to undefined, to use host SDK.

  • Scripts/webkitdirs.pm: (buildXCodeProject): There is no need to pass -sdk, because

XcodeOptions() already passes SDKROOT as appropriate.

  • Scripts/build-layouttestrelay: Added a FIXME. Resetting $xcodeSDK doesn't reset

any other configuration variables that were derived from its initial value, like $portName.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r197633 r197636  
     12016-03-06  Alexey Proskuryakov  <ap@apple.com>
     2
     3        build-webkit prints an error on iOS simulator bots
     4        https://bugs.webkit.org/show_bug.cgi?id=155078
     5
     6        Reviewed by Dan Bernstein.
     7
     8        This happens when build-layouttestrelay sets $xcodeSDK to undefined, to use host SDK.
     9
     10        * Scripts/webkitdirs.pm: (buildXCodeProject): There is no need to pass -sdk, because
     11        XcodeOptions() already passes SDKROOT as appropriate.
     12
     13        * Scripts/build-layouttestrelay: Added a FIXME. Resetting $xcodeSDK doesn't reset
     14        any other configuration variables that were derived from its initial value, like $portName.
     15
    1162016-03-05  Tim Horton  <timothy_horton@apple.com>
    217
  • trunk/Tools/Scripts/build-layouttestrelay

    r192371 r197636  
    6161#        without --ios-simulator so long as we are building on a Mac.
    6262if (isAppleMacWebKit() && !willUseIOSDeviceSDK()) {
     63    # FIXME: Changing SDK at this point results in an inconsistent webkitdirs state.
     64    # We should make it so that webkitdirs functions never see the wrong SDK.
    6365    setXcodeSDK(undef); # Force use of Mac SDK if --ios-simulator was passed
    6466    exit exitStatus(buildXCodeProject("LayoutTestRelay", $clean, XcodeOptions(), @ARGV));
  • trunk/Tools/Scripts/webkitdirs.pm

    r196783 r197636  
    17491749    }
    17501750
    1751     push(@extraOptions, ("-sdk", xcodeSDK())) if isIOSWebKit();
    1752 
    17531751    chomp($ENV{DSYMUTIL_NUM_THREADS} = `sysctl -n hw.activecpu`);
    17541752    return system "xcodebuild", "-project", "$project.xcodeproj", @extraOptions;
Note: See TracChangeset for help on using the changeset viewer.