From 21314fafc8a51d8ef491612bdfedd17932a1c31a Mon Sep 17 00:00:00 2001 From: Bennett Goble Date: Wed, 6 Aug 2025 11:58:09 -0700 Subject: [PATCH] Default address size to 64 Get with the times and switch the default address size to 64. This will simplify dev environment setup as most people will be able to drop the AUTOBUILD_ADDRSIZE environment variable. Closes #45 --- README.md | 2 +- autobuild/common.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6df6b50..f2bb6a2 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ For more information, see [Autobuild's wiki page][wiki]. | Name | Default | Description | |-|-|-| -| AUTOBUILD_ADDRSIZE | 32 | Target address size | +| AUTOBUILD_ADDRSIZE | 64 | Target address size | | AUTOBUILD_BUILD_ID | - | Build identifier | | AUTOBUILD_CONFIGURATION | - | Target build configuration | | AUTOBUILD_CONFIG_FILE | autobuild.xml | Autobuild configuration filename | diff --git a/autobuild/common.py b/autobuild/common.py index 74e105a..e93e3cd 100644 --- a/autobuild/common.py +++ b/autobuild/common.py @@ -39,7 +39,7 @@ class AutobuildError(RuntimeError): PLATFORM_LINUX64 = 'linux64' PLATFORM_COMMON = 'common' -DEFAULT_ADDRSIZE = 32 +DEFAULT_ADDRSIZE = 64 # Similarly, if we have an explicit platform in the environment, keep it. We # used to query os.environ in establish_platform(), instead of up here. The