@@ -83,7 +83,6 @@ KNOWN_SETTINGS=(
83
83
# When this flag is set, the build-script will only build/install the swift-syntax parser
84
84
# This is a temporary workaround of having a separate build product for swift-syntax parser
85
85
skip-swiftsyntax-swiftside " " " skip building/installing the swift side of swiftsyntax"
86
- skstresstester-build-type " Debug" " the build variant for the SourceKit stress tester"
87
86
swiftevolve-build-type " Debug" " the build variant for the swift-evolve tool"
88
87
llbuild-enable-assertions " 1" " enable assertions in llbuild"
89
88
enable-asan " " " enable Address Sanitizer"
@@ -129,7 +128,6 @@ KNOWN_SETTINGS=(
129
128
skip-build-libcxx " " " set to skip building libcxx"
130
129
skip-build-swiftpm " " " set to skip building swiftpm"
131
130
skip-build-swiftsyntax " " " set to skip building swiftSyntax"
132
- skip-build-skstresstester " " " set to skip building the SourceKit stress tester"
133
131
skip-build-swiftevolve " " " set to skip building the swift-evolve tool"
134
132
skip-build-xctest " " " set to skip building xctest"
135
133
skip-build-foundation " " " set to skip building foundation"
@@ -145,7 +143,6 @@ KNOWN_SETTINGS=(
145
143
skip-test-llbuild " " " set to skip testing llbuild"
146
144
skip-test-swiftpm " " " set to skip testing swiftpm"
147
145
skip-test-swiftsyntax " " " set to skip testing swiftSyntax"
148
- skip-test-skstresstester " " " set to skip testing the SourceKit stress tester"
149
146
skip-test-swiftevolve " " " set to skip testing the swift-evolve tool"
150
147
skip-test-xctest " " " set to skip testing xctest"
151
148
skip-test-foundation " " " set to skip testing foundation"
@@ -206,7 +203,6 @@ KNOWN_SETTINGS=(
206
203
install-swiftpm " " " whether to install swiftpm"
207
204
install-swiftsyntax " " " whether to install swiftsyntax"
208
205
skip-install-swiftsyntax-module " " " set to skip installing swiftsyntax modules"
209
- install-skstresstester " " " whether to install the SourceKit stress tester"
210
206
install-swiftevolve " " " whether to install the swift-evolve tool"
211
207
install-xctest " " " whether to install xctest"
212
208
install-foundation " " " whether to install foundation"
@@ -1200,7 +1196,6 @@ LLBUILD_SOURCE_DIR="${WORKSPACE}/llbuild"
1200
1196
SWIFTPM_SOURCE_DIR=" ${WORKSPACE} /swiftpm"
1201
1197
SWIFTSYNTAX_SOURCE_DIR=" ${WORKSPACE} /swift-syntax"
1202
1198
STRESSTEST_PACKAGE_DIR=" ${WORKSPACE} /swift-stress-tester"
1203
- SKSTRESSTESTER_SOURCE_DIR=" ${STRESSTEST_PACKAGE_DIR} /SourceKitStressTester"
1204
1199
SWIFTEVOLVE_SOURCE_DIR=" ${STRESSTEST_PACKAGE_DIR} /SwiftEvolve"
1205
1200
XCTEST_SOURCE_DIR=" ${WORKSPACE} /swift-corelibs-xctest"
1206
1201
FOUNDATION_SOURCE_DIR=" ${WORKSPACE} /swift-corelibs-foundation"
@@ -1254,9 +1249,8 @@ PRODUCTS=("${PRODUCTS[@]}" swift)
1254
1249
if [[ ! " ${SKIP_BUILD_LLDB} " ]] ; then
1255
1250
PRODUCTS=(" ${PRODUCTS[@]} " lldb)
1256
1251
fi
1257
- # LLBuild, SwiftPM, SwiftSyntax, the SourceKit stress tester and XCTest are
1258
- # dependent on Foundation, so Foundation must be added to the list of build
1259
- # products first.
1252
+ # LLBuild, SwiftPM, SwiftSyntax and XCTest are dependent on Foundation, so
1253
+ # Foundation must be added to the list of build products first.
1260
1254
if [[ ! " ${SKIP_BUILD_LIBDISPATCH} " ]] ; then
1261
1255
PRODUCTS=(" ${PRODUCTS[@]} " libdispatch)
1262
1256
if [[ -z " ${SKIP_BUILD_SWIFT_STATIC_LIBDISPATCH} " ]] ; then
@@ -1275,24 +1269,21 @@ fi
1275
1269
if [[ ! " ${SKIP_BUILD_PLAYGROUNDSUPPORT} " ]] ; then
1276
1270
PRODUCTS=(" ${PRODUCTS[@]} " playgroundsupport)
1277
1271
fi
1278
- # SwiftPM, SwiftSyntax and the SourceKit stress tester are dependent on XCTest,
1279
- # so XCTest must be added to the list of build products first.
1272
+ # SwiftPM and SwiftSyntax are dependent on XCTest, so XCTest must be added to
1273
+ # the list of build products first.
1280
1274
if [[ ! " ${SKIP_BUILD_XCTEST} " ]] ; then
1281
1275
PRODUCTS=(" ${PRODUCTS[@]} " xctest)
1282
1276
fi
1283
- # SwiftSyntax and the SourceKit stress tester are dependent on SwiftPM, so
1284
- # SwiftPM must be added to the list of build products first.
1277
+ # SwiftSyntax is dependent on SwiftPM, so SwiftPM must be added to the list of
1278
+ # build products first.
1285
1279
if [[ ! " ${SKIP_BUILD_SWIFTPM} " ]] ; then
1286
1280
PRODUCTS=(" ${PRODUCTS[@]} " swiftpm)
1287
1281
fi
1288
- # The SourceKit stress tester and swift-evolve are dependent on SwiftSyntax, so
1289
- # it must be added to the list of build products first.
1282
+ # swift-evolve is dependent on SwiftSyntax, so it must be added to the list of
1283
+ # build products first.
1290
1284
if [[ ! " ${SKIP_BUILD_SWIFTSYNTAX} " ]] ; then
1291
1285
PRODUCTS=(" ${PRODUCTS[@]} " swiftsyntax)
1292
1286
fi
1293
- if [[ ! " ${SKIP_BUILD_SKSTRESSTESTER} " ]] ; then
1294
- PRODUCTS=(" ${PRODUCTS[@]} " skstresstester)
1295
- fi
1296
1287
if [[ ! " ${SKIP_BUILD_SWIFTEVOLVE} " ]] ; then
1297
1288
PRODUCTS=(" ${PRODUCTS[@]} " swiftevolve)
1298
1289
fi
@@ -1604,9 +1595,6 @@ function build_directory_bin() {
1604
1595
swiftsyntax)
1605
1596
echo " ${root} /${SWIFTSYNTAX_BUILD_TYPE} /bin"
1606
1597
;;
1607
- skstresstester)
1608
- echo " ${root} /${SKSTRESSTESTER_BUILD_TYPE} /bin"
1609
- ;;
1610
1598
swiftevolve)
1611
1599
echo " ${root} /${SWIFTEVOLVE_BUILD_TYPE} /bin"
1612
1600
;;
@@ -1755,9 +1743,6 @@ function cmake_config_opt() {
1755
1743
swiftsyntax)
1756
1744
echo " --config ${SWIFTSYNTAX_BUILD_TYPE} "
1757
1745
;;
1758
- skstresstester)
1759
- echo " --config ${SKSTRESSTESTER_BUILD_TYPE} "
1760
- ;;
1761
1746
swiftevolve)
1762
1747
echo " --config ${SWIFTEVOLVE_BUILD_TYPE} "
1763
1748
;;
@@ -1922,11 +1907,6 @@ function set_stresstester_build_script_helper_command() {
1922
1907
--config=" ${config} " )
1923
1908
}
1924
1909
1925
- function set_skstresstester_build_command() {
1926
- set_stresstester_build_script_helper_command SourceKitStressTester " ${SKSTRESSTESTER_BUILD_TYPE} " " $( build_directory ${host} skstresstester) "
1927
- skstresstester_build_command=(" ${stresstester_build_script_helper_command[@]} " )
1928
- }
1929
-
1930
1910
function set_swiftevolve_build_command() {
1931
1911
set_stresstester_build_script_helper_command SwiftEvolve " ${SWIFTEVOLVE_BUILD_TYPE} " " $( build_directory ${host} swiftevolve) "
1932
1912
swiftevolve_build_command=(" ${stresstester_build_script_helper_command[@]} " )
@@ -2583,16 +2563,6 @@ for host in "${ALL_HOSTS[@]}"; do
2583
2563
set_swiftsyntax_build_command
2584
2564
call " ${swiftsyntax_build_command[@]} "
2585
2565
2586
- continue
2587
- ;;
2588
- skstresstester)
2589
- if [[ " $( uname -s) " != " Darwin" ]]; then
2590
- echo " error: unable to build swift-stress-tester on this platform"
2591
- continue
2592
- fi
2593
- set_skstresstester_build_command
2594
- call " ${skstresstester_build_command[@]} "
2595
-
2596
2566
continue
2597
2567
;;
2598
2568
swiftevolve)
@@ -3117,15 +3087,6 @@ for host in "${ALL_HOSTS[@]}"; do
3117
3087
# As swiftSyntax tests itself, we break early here.
3118
3088
continue
3119
3089
;;
3120
- skstresstester)
3121
- if [[ " ${SKIP_TEST_SKSTRESSTESTER} " ]]; then
3122
- continue
3123
- fi
3124
- echo " --- Running tests for ${product} ---"
3125
- set_skstresstester_build_command
3126
- call " ${skstresstester_build_command[@]} " test
3127
- continue
3128
- ;;
3129
3090
swiftevolve)
3130
3091
if [[ " ${SKIP_TEST_SWIFTEVOLVE} " ]]; then
3131
3092
continue
@@ -3491,24 +3452,6 @@ for host in "${ALL_HOSTS[@]}"; do
3491
3452
call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --install
3492
3453
fi
3493
3454
3494
- continue
3495
- ;;
3496
- skstresstester)
3497
- if [[ -z " ${INSTALL_SKSTRESSTESTER} " ]] ; then
3498
- continue
3499
- fi
3500
- if [[ -z " ${INSTALL_DESTDIR} " ]] ; then
3501
- echo " --install-destdir is required to install products."
3502
- exit 1
3503
- fi
3504
- if [[ -z " ${INSTALL_SWIFTSYNTAX} " ]] ; then
3505
- echo " --install-swiftsyntax is required to install the SourceKit stress tester"
3506
- exit 1
3507
- fi
3508
-
3509
- echo " --- Installing ${product} ---"
3510
- set_skstresstester_build_command
3511
- call " ${skstresstester_build_command[@]} " --prefix=" ${host_install_destdir}${host_install_prefix} " install
3512
3455
continue
3513
3456
;;
3514
3457
swiftevolve)
0 commit comments