Skip to content

Commit 2a5af15

Browse files
authored
Merge pull request #33154 from buttaface/flags
2 parents 528ace8 + 587973f commit 2a5af15

File tree

2 files changed

+0
-86
lines changed

2 files changed

+0
-86
lines changed

utils/build-script

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,6 @@ class BuildScriptInvocation(object):
558558
impl_args += ["--skip-build"]
559559
if not args.build_benchmarks:
560560
impl_args += ["--skip-build-benchmarks"]
561-
# Currently we do not build external benchmarks by default.
562-
if args.build_external_benchmarks:
563-
impl_args += ["--skip-build-external-benchmarks=0"]
564561

565562
# Then add subproject install flags that either skip building them /or/
566563
# if we are going to build them and install_all is set, we also install
@@ -594,26 +591,6 @@ class BuildScriptInvocation(object):
594591
if args.build_swift_static_sdk_overlay:
595592
impl_args += ["--build-swift-static-sdk-overlay"]
596593

597-
if not args.build_linux:
598-
impl_args += ["--skip-build-linux"]
599-
if not args.build_freebsd:
600-
impl_args += ["--skip-build-freebsd"]
601-
if not args.build_cygwin:
602-
impl_args += ["--skip-build-cygwin"]
603-
if not args.build_osx:
604-
impl_args += ["--skip-build-osx"]
605-
if not args.build_ios_device:
606-
impl_args += ["--skip-build-ios-device"]
607-
if not args.build_ios_simulator:
608-
impl_args += ["--skip-build-ios-simulator"]
609-
if not args.build_tvos_device:
610-
impl_args += ["--skip-build-tvos-device"]
611-
if not args.build_tvos_simulator:
612-
impl_args += ["--skip-build-tvos-simulator"]
613-
if not args.build_watchos_device:
614-
impl_args += ["--skip-build-watchos-device"]
615-
if not args.build_watchos_simulator:
616-
impl_args += ["--skip-build-watchos-simulator"]
617594
if not args.build_android:
618595
impl_args += ["--skip-build-android"]
619596
if not args.build_clang_tools_extra:
@@ -631,32 +608,6 @@ class BuildScriptInvocation(object):
631608
"--skip-test-libdispatch",
632609
"--skip-test-libicu",
633610
]
634-
if not args.test_linux:
635-
impl_args += ["--skip-test-linux"]
636-
if not args.test_freebsd:
637-
impl_args += ["--skip-test-freebsd"]
638-
if not args.test_cygwin:
639-
impl_args += ["--skip-test-cygwin"]
640-
if not args.test_osx:
641-
impl_args += ["--skip-test-osx"]
642-
if not args.test_ios_host:
643-
impl_args += ["--skip-test-ios-host"]
644-
if not args.test_ios_simulator:
645-
impl_args += ["--skip-test-ios-simulator"]
646-
if not args.test_ios_32bit_simulator:
647-
impl_args += ["--skip-test-ios-32bit-simulator"]
648-
if not args.test_tvos_host:
649-
impl_args += ["--skip-test-tvos-host"]
650-
if not args.test_tvos_simulator:
651-
impl_args += ["--skip-test-tvos-simulator"]
652-
if not args.test_watchos_host:
653-
impl_args += ["--skip-test-watchos-host"]
654-
if not args.test_watchos_simulator:
655-
impl_args += ["--skip-test-watchos-simulator"]
656-
if not args.test_android:
657-
impl_args += ["--skip-test-android"]
658-
if not args.test_android_host:
659-
impl_args += ["--skip-test-android-host"]
660611
if args.build_runtime_with_host_compiler:
661612
impl_args += ["--build-runtime-with-host-compiler"]
662613
if args.validation_test:
@@ -671,12 +622,6 @@ class BuildScriptInvocation(object):
671622
impl_args += ["--only-executable-test"]
672623
if not args.benchmark:
673624
impl_args += ["--skip-test-benchmarks"]
674-
if not args.test_optimized:
675-
impl_args += ["--skip-test-optimized"]
676-
if not args.test_optimize_for_size:
677-
impl_args += ["--skip-test-optimize-for-size"]
678-
if not args.test_optimize_none_with_implicit_dynamic:
679-
impl_args += ["--skip-test-optimize-none-with-implicit-dynamic"]
680625
if args.build_libparser_only:
681626
impl_args += ["--build-libparser-only"]
682627
if args.android:

utils/build-script-impl

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -126,40 +126,9 @@ KNOWN_SETTINGS=(
126126
skip-build-clang-tools-extra "" "set to skip building clang-tools-extra as part of llvm"
127127
skip-build-compiler-rt "" "set to skip building Compiler-RT"
128128
skip-build-lld "" "set to skip building lld as part of llvm (linux only)"
129-
skip-build-cygwin "" "set to skip building Swift stdlibs for Cygwin"
130-
skip-build-external-benchmarks "1" "set to skip building the external Swift Benchmark Suite. (skipped by default)"
131-
skip-build-freebsd "" "set to skip building Swift stdlibs for FreeBSD"
132-
skip-build-haiku "" "set to skip building Swift stdlibs for Haiku"
133-
skip-build-ios-device "" "set to skip building Swift stdlibs for iOS devices (i.e. build simulators only)"
134-
skip-build-ios-simulator "" "set to skip building Swift stdlibs for iOS simulators (i.e. build devices only)"
135-
skip-build-linux "" "set to skip building Swift stdlibs for Linux"
136-
skip-build-maccatalyst "" "set to skip building Swift stdlibs for macCatalyst"
137-
skip-build-osx "" "set to skip building Swift stdlibs for OS X"
138-
skip-build-tvos-device "" "set to skip building Swift stdlibs for tvOS devices (i.e. build simulators only)"
139-
skip-build-tvos-simulator "" "set to skip building Swift stdlibs for tvOS simulators (i.e. build devices only)"
140-
skip-build-watchos-device "" "set to skip building Swift stdlibs for Apple watchOS devices (i.e. build simulators only)"
141-
skip-build-watchos-simulator "" "set to skip building Swift stdlibs for Apple watchOS simulators (i.e. build devices only)"
142129

143130
## Skip Test ...
144-
skip-test-android "" "set to skip testing Swift stdlibs for Android"
145-
skip-test-android-host "" "set to skip testing the host parts of the Android toolchain"
146-
skip-test-cygwin "" "set to skip testing Swift stdlibs for Cygwin"
147-
skip-test-freebsd "" "set to skip testing Swift stdlibs for FreeBSD"
148-
skip-test-haiku "" "set to skip testing Swift stdlibs for Haiku"
149-
skip-test-ios-32bit-simulator "" "set to skip testing Swift stdlibs for iOS 32bit simulators"
150-
skip-test-ios-host "" "set to skip testing the host parts of the iOS toolchain"
151-
skip-test-ios-simulator "" "set to skip testing Swift stdlibs for iOS simulators (i.e. test devices only)"
152-
skip-test-linux "" "set to skip testing Swift stdlibs for Linux"
153-
skip-test-maccatalyst "" "set to skip testing Swift stdlibs for macCatalyst"
154-
skip-test-osx "" "set to skip testing Swift stdlibs for OS X"
155-
skip-test-tvos-host "" "set to skip testing the host parts of the tvOS toolchain"
156-
skip-test-tvos-simulator "" "set to skip testing Swift stdlibs for tvOS simulators (i.e. test devices only)"
157-
skip-test-watchos-host "" "set to skip testing the host parts of the watchOS toolchain"
158-
skip-test-watchos-simulator "" "set to skip testing Swift stdlibs for Apple watchOS simulators (i.e. test devices only)"
159131
skip-test-benchmarks "" "set to skip running Swift Benchmark Suite"
160-
skip-test-optimized "" "set to skip testing the test suite in optimized mode"
161-
skip-test-optimize-for-size "" "set to skip testing the test suite in optimize for size mode"
162-
skip-test-optimize-none-with-implicit-dynamic "" "set to skip testing the test suite in optimize none with implicit dynamic mode"
163132
skip-test-sourcekit "" "set to skip testing SourceKit"
164133

165134
## Extra ... CMake Options

0 commit comments

Comments
 (0)