Skip to content

Commit 6cf157e

Browse files
committed
Reduce rebuilds when running buildbot_incremental presets in succession
We have some configurations in which we run a preset that only builds the compiler, and then a few ones to tests such binary, e.g. ``` buildbot_incremental,tools=RA,stdlib=RD,build buildbot_incremental,tools=RA,stdlib=RD,test=macOS,type=device buildbot_incremental,tools=RA,stdlib=RD,test=iOS,type=simulator buildbot_incremental,tools=RA,stdlib=RD,test=watchOS,type=simulator ``` Contrary to the other presets, in the first preset we did not specify "--lit-args" since it is not necessary -- however that plays a part in the configuration of compiler-rt, causing an unwanted rebuild when that parameter is specified in the following preset. Addresses rdar://116922016
1 parent 99ff671 commit 6cf157e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

utils/build-presets.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,13 @@ build-ninja
21542154
build-swift-stdlib-unittest-extra
21552155
skip-build-benchmarks
21562156

2157+
# This is needed to avoid needless rebuild
2158+
# (in particolar compiler-rt) if we run
2159+
# presets focused on testing like
2160+
# buildbot_incremental,*,test=*
2161+
# after buildbot_incremental,*,build
2162+
lit-args=-v
2163+
21572164
[preset: mixin_buildbot_incremental,test=macOS,type=device]
21582165

21592166
test

0 commit comments

Comments
 (0)