Skip to content

Commit ed96cf4

Browse files
authored
Avoid using extra-cmake-options in the stdlib standalone presets (swiftlang#34020)
1 parent ec72db1 commit ed96cf4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/build-presets.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,9 +2369,10 @@ skip-build-cmark
23692369
skip-build-benchmarks
23702370
skip-test-cmark
23712371

2372-
# Then we inject two cmake arguments that cause us not to build tools and to
2372+
# This triggers the stdlib standalone build: Don't build tools (the compiler),
23732373
# assume we are working with the host compiler.
2374-
extra-cmake-options=-DSWIFT_INCLUDE_TOOLS=NO -DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER=YES
2374+
build-swift-tools=0
2375+
build-runtime-with-host-compiler=1
23752376

23762377
# Then set the paths to our native tools. If compiling against a toolchain,
23772378
# these should all be the ./usr/bin directory.

0 commit comments

Comments
 (0)