Skip to content

Commit 70a110a

Browse files
authored
Merge pull request #8689 from apple/swift-4-update-presets
2 parents c98db37 + 4af8b33 commit 70a110a

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

utils/build-presets.ini

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,31 @@ swiftpm
11141114

11151115
dash-dash
11161116

1117-
# Only run watchOS tests
11181117
skip-test-swift
1118+
skip-test-cmark
1119+
skip-test-llbuild
1120+
1121+
#===------------------------------------------------------------------------===#
1122+
# Test llbuild on macOS builder
1123+
#===------------------------------------------------------------------------===#
1124+
1125+
[preset: buildbot_llbuild_macos_platform,tools=RA,stdlib=RA]
1126+
mixin-preset=buildbot_incremental_base
1127+
1128+
build-subdir=buildbot_incremental
1129+
1130+
# Build Release without debug info, because it is faster to build.
1131+
release
1132+
assertions
11191133

1134+
# Build llbuild & swiftpm here
1135+
llbuild
1136+
swiftpm
1137+
1138+
dash-dash
1139+
1140+
skip-test-swift
1141+
skip-test-cmark
11201142

11211143
#===------------------------------------------------------------------------===#
11221144
# Remote Mirror Library
@@ -1260,6 +1282,7 @@ dash-dash
12601282
skip-test-ios
12611283
skip-test-tvos
12621284
skip-test-watchos
1285+
skip-reconfigure
12631286

12641287
[preset: mixin_buildbot_incremental,test=iOS,type=simulator]
12651288

@@ -1272,6 +1295,7 @@ dash-dash
12721295
skip-test-osx
12731296
skip-test-tvos
12741297
skip-test-watchos
1298+
skip-reconfigure
12751299

12761300
[preset: mixin_buildbot_incremental,test=tvOS,type=simulator]
12771301
test
@@ -1283,6 +1307,7 @@ dash-dash
12831307
skip-test-osx
12841308
skip-test-watchos
12851309
skip-test-ios
1310+
skip-reconfigure
12861311

12871312
[preset: mixin_buildbot_incremental,test=watchOS,type=simulator]
12881313

@@ -1295,6 +1320,7 @@ dash-dash
12951320
skip-test-osx
12961321
skip-test-tvos
12971322
skip-test-ios
1323+
skip-reconfigure
12981324

12991325
#===------------------------------------------------------------------------===#
13001326
# Swift Preset

utils/build-script-impl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ KNOWN_SETTINGS=(
9999
installable-package "" "the path to the archive of the installation directory"
100100
test-installable-package "" "whether to run post-packaging tests on the produced package"
101101
reconfigure "" "force a CMake configuration run even if CMakeCache.txt already exists"
102+
skip-reconfigure "" "set to skip reconfigure"
102103
swift-primary-variant-sdk "" "default SDK for target binaries"
103104
swift-primary-variant-arch "" "default arch for target binaries"
104105
skip-build-cmark "" "set to skip building CommonMark"
@@ -943,6 +944,10 @@ if [[ "${CROSS_COMPILE_HOSTS}" ]]; then
943944
SKIP_BUILD_COMPILER_RT=1
944945
fi
945946

947+
if [[ "${SKIP_RECONFIGURE}" ]]; then
948+
RECONFIGURE=""
949+
fi
950+
946951
# WORKSPACE, BUILD_DIR and INSTALLABLE_PACKAGE must be absolute paths
947952
case "${WORKSPACE}" in
948953
/*) ;;

0 commit comments

Comments
 (0)