Remove the --64-bit argument from scripts in favor of them detecting when 64-bit...
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Mar 2009 06:17:16 +0000 (06:17 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Mar 2009 06:17:16 +0000 (06:17 +0000)
commit9aabdbae5357e8bf0eebec5aa01a82bab9f746c5
tree8dbfa1eb2fbc3daace9135c4a2b9f9c67eb6bb47
parent44bfe8b5ce4cc30d81a4695afe34ef3150f83a50
Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.

Reviewed by Timothy Hatcher.

The scripts will automatically target 64-bit if the system and hardware support it.  This can be
overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
to make the override persistent.

* Scripts/build-webkit: Remove architecture-related code.
* Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
* Scripts/run-javascriptcore-tests: Remove architecture-related code.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments.  The --32-bit argument will set the
architecture preference to the 32-bit architecture of the machine.  The --64-bit argument will remove any architecture
override that is in effect so that 64-bit support will be automatically detected.
* Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
auto-detection.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/Scripts/build-webkit
WebKitTools/Scripts/gdb-safari
WebKitTools/Scripts/run-javascriptcore-tests
WebKitTools/Scripts/run-safari
WebKitTools/Scripts/run-webkit-tests
WebKitTools/Scripts/set-webkit-configuration
WebKitTools/Scripts/webkitdirs.pm