Skip to content

Commit 8337f96

Browse files
author
Davide Italiano
committed
[Package] When building a toolchain, don't copy the Resource directory.
Should dramatically improve the size of the snapshost produced, as we don't have stdlib et similia included twice. Also, it helps when producing fat binaries, as we don't have to implement any mechanism for sandwiching all the slices together.
1 parent 363dc4e commit 8337f96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/build-presets.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,11 @@ verbose-build
12341234
build-ninja
12351235
build-swift-stdlib-unittest-extra
12361236

1237+
# When producing a package, don't copy the Swift Resource/ directory.
1238+
# This is mainly a space optimization.
1239+
extra-cmake-options=
1240+
-DLLDB_FRAMEWORK_COPY_SWIFT_RESOURCES=0
1241+
12371242
install-llvm
12381243
install-swift
12391244
install-lldb

0 commit comments

Comments
 (0)