Bug 146684 - Make build-webkit support targeting the shipping OS even if building from the beta OS
Summary: Make build-webkit support targeting the shipping OS even if building from the...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 10:00 PDT by Brady Eidson
Modified: 2015-07-08 14:56 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2015-07-07 10:00:07 PDT
Make build-webkit support targeting the shipping OS even if building from the beta OS

OpenSource developers who have installed a beta of the non-released OS X cannot build Webkit because the binary WebKitSystemInterface is not yet available for the OS.
E.g., those running the El Capitan betas right now cannot build, because the El Capitan WKSI binary is not yet available.

WKSI is a pain, and maybe some day we can mostly move away from it. But for now, it should be possible to update build-webkit to target the shipping OS even when building on the pre-release OS.
E.g., those running the El Capitan (10.11) beta should be able to build WebKit for Yosemite (10.10) and link to the Yosemite WKSI binary.

This is something that is probably possible today with the Makefiles by messing with TARGET_MAC_OS_X_VERSION_MAJOR, but making it native to build-webkit would be a huge help.

It may or may not be possible to update the Xcode project files to make this a simple option.
Comment 1 Mark Rowe (bdash) 2015-07-07 17:40:55 PDT
The nightly build process includes building for an older OS version from a current system. The build script for the nightlies should reveal which settings need to be overridden for this to work in general. Further tweaks may then be needed to accommodate prerelease OS versions.