Skip to content

Commit a6ec383

Browse files
committed
[android][build-script] Update the default arch to AArch64, as that is by far the most commonly used now
1 parent d79be5f commit a6ec383

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

utils/build_swift/build_swift/driver_arguments.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ def create_argument_parser():
14031403

14041404
option('--android-arch', store,
14051405
choices=['armv7', 'aarch64', 'x86_64'],
1406-
default='armv7',
1406+
default='aarch64',
14071407
help='The target architecture when building for Android. '
14081408
'Currently, only armv7, aarch64, and x86_64 are supported. '
14091409
'%(default)s is the default.')

utils/build_swift/tests/expected_options.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'android_api_level': '21',
4242
'android_deploy_device_path': '/data/local/tmp',
4343
'android_ndk': None,
44-
'android_arch': 'armv7',
44+
'android_arch': 'aarch64',
4545
'assertions': True,
4646
'benchmark': False,
4747
'benchmark_num_o_iterations': 3,
@@ -768,7 +768,7 @@ class BuildScriptImplOption(_BaseOption):
768768
ChoicesOption('--swift-analyze-code-coverage',
769769
choices=['false', 'not-merged', 'merged']),
770770
ChoicesOption('--android-arch',
771-
choices=['armv7', 'aarch64']),
771+
choices=['armv7', 'aarch64', 'x86_64']),
772772

773773
StrOption('--android-api-level'),
774774
StrOption('--build-args'),

0 commit comments

Comments
 (0)