Skip to content

Commit 9498287

Browse files
committed
[android] Disable SwiftPM in CI build.
The Android CI build only builds the stdlib because the rest of the components are build for the host, which is not very useful, since they are already tested in other CI configurations.
1 parent 7bb534b commit 9498287

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

utils/build-presets.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,10 +847,12 @@ skip-build-foundation
847847
skip-build-xctest
848848
skip-build-playgroundsupport
849849
skip-build-benchmarks
850+
swiftpm=0
850851
indexstore-db=0
851852
sourcekit-lsp=0
852853
toolchain-benchmarks=0
853854
test-installable-package=
855+
install-swiftpm=0
854856

855857
[preset: buildbot_linux_crosscompile_android,tools=RA,stdlib=RD,build,aarch64]
856858
mixin-preset=buildbot_linux_crosscompile_android,tools=RA,stdlib=RD,build

utils/build_swift/driver_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def create_argument_parser():
555555
option(['--libcxx'], store_true('build_libcxx'),
556556
help='build libcxx')
557557

558-
option(['-p', '--swiftpm'], store_true('build_swiftpm'),
558+
option(['-p', '--swiftpm'], toggle_true('build_swiftpm'),
559559
help='build swiftpm')
560560

561561
option(['--install-swiftpm'], toggle_true('install_swiftpm'),

0 commit comments

Comments
 (0)