[webkit-changes] [WebKit/WebKit] f36572: [build-webkit] Add --architecture argument

Jonathan Bedard noreply at github.com
Wed Dec 13 09:18:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f365728120173dcc6b3c786bc1b70b2fd6c55730
      https://github.com/WebKit/WebKit/commit/f365728120173dcc6b3c786bc1b70b2fd6c55730
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M Tools/Scripts/build-webkit
    M Tools/Scripts/webkitdirs.pm

  Log Message:
  -----------
  [build-webkit] Add --architecture argument
https://bugs.webkit.org/show_bug.cgi?id=266342
rdar://119615600

Reviewed by Ryan Haddad.

Add a '--architecture' argument to 'build-webkit' which allows
the caller to override the architecutre used by 'build-webkit',
and appropriately sets 'ONLY_ACTIVE_ARCH=NO' if '--architecture'
is specified.

* Tools/Scripts/build-webkit: Add documentation of '--architecture' option.
* Tools/Scripts/webkitdirs.pm:
(determineArchitecture): Parse the '--architecture' option and set didUserSpecifyArchitecture.
(XcodeOptions): Set ONLY_ACTIVE_ARCH=NO if '--architecutre' was passed.

Canonical link: https://commits.webkit.org/271986@main




More information about the webkit-changes mailing list