From a2cb93eccb51ebd2e144ea2795ddb372627cc853 Mon Sep 17 00:00:00 2001 From: Anthony Latsis Date: Mon, 6 Feb 2023 14:16:17 +0300 Subject: [PATCH 1/2] [docs] GettingStarted: Replace build variant suffix with asterisks in paths to `--xcode` build artifacts The default build variant for `--xcode` recently changed from ReleaseAssert to MinSizeRelAssert, and we forgot to update these hardcoded paths. Use asterisks to avoid having to do this again. --- docs/HowToGuides/GettingStarted.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/HowToGuides/GettingStarted.md b/docs/HowToGuides/GettingStarted.md index 0107d56fcd2..6427371efa1 100644 --- a/docs/HowToGuides/GettingStarted.md +++ b/docs/HowToGuides/GettingStarted.md @@ -360,13 +360,13 @@ several more steps are necessary to set up this environment: * Create a new Xcode workspace. * Add the generated Xcode projects or Swift packages that are relevant to your tasks to your workspace. All the Xcode projects can be found among the - build artifacts under `build/Xcode-ReleaseAssert`. For example: - * If you are aiming for the compiler, add `build/Xcode-ReleaseAssert/swift-macosx-*/Swift.xcodeproj`. + build artifacts under `build/Xcode-*/`. For example: + * If you are aiming for the compiler, add `build/Xcode-*/swift-macosx-*/Swift.xcodeproj`. This project also includes the standard library and runtime sources. If you need the parts of the compiler that are implemented in Swift itself, add the `swift/SwiftCompilerSources/Package.swift` package as well. * If you are aiming for just the standard library or runtime, add - `build/Xcode-ReleaseAssert/swift-macosx-*/stdlib/Swift-stdlib.xcodeproj`. + `build/Xcode-*/swift-macosx-*/stdlib/Swift-stdlib.xcodeproj`.
From fed05f6cb988b79351003b10172045b296e69daa Mon Sep 17 00:00:00 2001 From: Anthony Latsis Date: Mon, 6 Feb 2023 14:45:43 +0300 Subject: [PATCH 2/2] [docs] GettingStarted: Remove outdated assumption The guide is no longer dependent on the architecture. --- docs/HowToGuides/GettingStarted.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/HowToGuides/GettingStarted.md b/docs/HowToGuides/GettingStarted.md index 6427371efa1..c6064042606 100644 --- a/docs/HowToGuides/GettingStarted.md +++ b/docs/HowToGuides/GettingStarted.md @@ -271,9 +271,8 @@ Phew, that's a lot to digest! Now let's proceed to the actual build itself! on Linux, add the `--xctest` flag to `build-script`. In the following sections, for simplicity, we will assume that you are using a -`Ninja-RelWithDebInfoAssert` build on macOS running on an Intel-based Mac, -unless explicitly mentioned otherwise. You will need to slightly tweak the paths -for other build configurations. +`Ninja-RelWithDebInfoAssert` build on macOS, unless explicitly mentioned otherwise. +You will need to slightly tweak the paths for other build configurations. ### Troubleshooting build issues