Skip to content

Commit 5dbc58c

Browse files
committed
[build-script] Add preset for building swift and the benchmarks and running the benchmarks.
No comparison is made. This is just for validation that things are working.
1 parent 3376738 commit 5dbc58c

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

utils/build-presets.ini

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,53 @@ swift-primary-variant-arch=x86_64
549549
# Don't build the benchmarks
550550
skip-build-benchmarks
551551

552+
[preset: buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx,benchmarks]
553+
mixin-preset=buildbot_incremental_base
554+
build-subdir=buildbot_incremental
555+
556+
# We build release+asserts.
557+
release
558+
assertions
559+
560+
# We run the OS X tests and validation tests.
561+
test
562+
validation-test
563+
564+
llvm-targets-to-build=X86
565+
566+
# Set the vendor to apple
567+
compiler-vendor=apple
568+
569+
dash-dash
570+
571+
# Always reconfigure cmake
572+
reconfigure
573+
574+
# We want to always perform a verbose build
575+
verbose-build
576+
577+
# Build ninja while we are at it
578+
build-ninja
579+
580+
# We need to build the unittest extras so we can test
581+
build-swift-stdlib-unittest-extra
582+
583+
# Make sure our stdlib is RA.
584+
swift-stdlib-build-type=RelWithDebInfo
585+
swift-stdlib-enable-assertions=true
586+
587+
# Disable non-x86 building/testing.
588+
skip-build-ios
589+
skip-test-ios
590+
skip-build-tvos
591+
skip-test-tvos
592+
skip-build-watchos
593+
skip-test-watchos
594+
stdlib-deployment-targets=macosx-x86_64
595+
swift-primary-variant-sdk=OSX
596+
swift-primary-variant-arch=x86_64
597+
598+
552599
[preset: buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx,flto]
553600
mixin-preset=buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx
554601
build-subdir=buildbot_incremental

0 commit comments

Comments
 (0)