From 1f9da381dcdef98df2a7313d8729750cbac54f45 Mon Sep 17 00:00:00 2001 From: Freddy Kellison-Linn Date: Fri, 3 Jul 2020 09:37:31 -0400 Subject: [PATCH 1/2] Update README for new target names --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 166feb1aa67fc..f1d8839474d15 100644 --- a/README.md +++ b/README.md @@ -241,7 +241,7 @@ various products. These incremental builds are a big timesaver when developing and debugging. cd ${SWIFT_BUILD_DIR} - ninja swift + ninja compiler This will build the Swift compiler, but will not rebuild the standard library or any other target. Building the `swift-stdlib` target as an additional layer of @@ -250,6 +250,10 @@ library, run: ninja swift-stdlib +To build just the compiler frontend, run: + + ninja swift-frontend + It is always a good idea to do a full build after using `update-checkout`. #### Using Xcode @@ -258,7 +262,7 @@ To open the Swift project in Xcode, open `${SWIFT_BUILD_DIR}/Swift.xcodeproj`. It will auto-create a *lot* of schemes for all of the available targets. A common debug flow would involve: - - Select the 'swift' scheme. + - Select the 'swift-frontend' scheme. - Pull up the scheme editor (⌘⇧<). - Select the 'Arguments' tab and click the '+'. - Add the command line options. From 7332619472647334f6b1355d06f4eaf420af3a2d Mon Sep 17 00:00:00 2001 From: Frederick Kellison-Linn Date: Fri, 3 Jul 2020 16:26:49 -0400 Subject: [PATCH 2/2] Remove `ninja compiler` command --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index f1d8839474d15..8b090a70578d4 100644 --- a/README.md +++ b/README.md @@ -241,7 +241,7 @@ various products. These incremental builds are a big timesaver when developing and debugging. cd ${SWIFT_BUILD_DIR} - ninja compiler + ninja swift-frontend This will build the Swift compiler, but will not rebuild the standard library or any other target. Building the `swift-stdlib` target as an additional layer of @@ -250,10 +250,6 @@ library, run: ninja swift-stdlib -To build just the compiler frontend, run: - - ninja swift-frontend - It is always a good idea to do a full build after using `update-checkout`. #### Using Xcode