Skip to content

Commit 5f80471

Browse files
committed
[build system] Renamed the preset for LLDB_Embedded and added more comments.
This should make it less confusing to figure out what this preset is for, and what configuration it requires.
1 parent f752ac5 commit 5f80471

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

utils/build-presets.ini

+9-5
Original file line numberDiff line numberDiff line change
@@ -573,24 +573,28 @@ darwin-toolchain-version=%(darwin_toolchain_version)s
573573
#===------------------------------------------------------------------------===#
574574
# LLDB build configurations
575575
#
576-
# Use to build the compiler embedded in LLDB.
577-
# This is only used from Xcode, and expects a swift_install_destdir argument.
576+
# Use to build the compiler sources nested in LLDB.
577+
#
578+
# This is only used from Xcode, and expects the following configuration:
579+
## an argument, swift_install_destdir=[path for Swift installed products]
580+
## an environment variable, SWIFT_SOURCE_ROOT=[parent of swift/]
581+
## an environment variable, SWIFT_BUILD_ROOT=[parent of Swift build directory]
578582
#===------------------------------------------------------------------------===#
579583

580-
[preset: LLDB_Embedded]
584+
[preset: LLDB_Nested]
581585
dash-dash
582586
build-swift-perf-testsuite=0
583587
install-destdir=%(swift_install_destdir)s
584588

585589
[preset: LLDB_Swift_DebugAssert]
586590
mixin-preset=
587-
LLDB_Embedded
591+
LLDB_Nested
588592

589593
assertions
590594

591595
[preset: LLDB_Swift_ReleaseAssert]
592596
mixin-preset=
593-
LLDB_Embedded
597+
LLDB_Nested
594598

595599
release-debuginfo
596600
assertions

0 commit comments

Comments
 (0)