Skip to content

Commit cf0fc1a

Browse files
committed
Add a new buildbot preset to build toolchains which contain the debug version of compilers.
The stdlib is built in release mode. This new preset should make it easier to debug compiler errors and crashers.
1 parent af5e595 commit cf0fc1a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

utils/build-presets.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,18 @@ darwin-toolchain-name=%(darwin_toolchain_xctoolchain_name)s
755755
darwin-toolchain-version=%(darwin_toolchain_version)s
756756
darwin-toolchain-alias=%(darwin_toolchain_alias)s
757757

758+
# Debug version of the compilers, release version of the stdlib.
759+
[preset: buildbot_osx_package,tools=DA,stdlib=R]
760+
mixin-preset=buildbot_osx_package
761+
762+
build-subdir=buildbot_osx_debug
763+
764+
release-debuginfo
765+
assertions
766+
debug-llvm
767+
debug-swift
768+
no-swift-stdlib-assertions
769+
758770
#===------------------------------------------------------------------------===#
759771
# LLDB build configurations
760772
#

0 commit comments

Comments
 (0)