Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix info about bootstrapping #63381

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Conversation

eeckstein
Copy link
Contributor

@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@@ -463,7 +460,7 @@ Now that you have made some changes, you will need to rebuild...

To rebuild the compiler:
```sh
ninja -C ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m) swift-frontend
ninja -C ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m) bin/swift-frontend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m)/bin with no space?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see, the space is needed.

@eeckstein eeckstein merged commit 89625c0 into swiftlang:main Feb 2, 2023
@eeckstein eeckstein deleted the fix-docs branch February 2, 2023 18:31
@@ -257,7 +253,8 @@ Phew, that's a lot to digest! Now let's proceed to the actual build itself!

> **Note**
> If you aren't planning to edit the parts of the compiler that are written
> in Swift, pass `--bootstrapping=off` to speed up local development.
> in Swift, pass `--bootstrapping=hosttools` to speed up local development.
> This requires a recent Xcode and/or swift toolchain to be installed.
Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis Feb 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this bootstrapping mode work on Linux?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should, but is not enabled on the linux CI.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I suppose the last sentence should be addressing Linux users, because Xcode is on the list of dependencies for macOS anyway.

@AnthonyLatsis
Copy link
Collaborator

Does this need to be updated as well?

@eeckstein
Copy link
Contributor Author

Does this need to be updated as well?

Yes, I missed that

@AnthonyLatsis
Copy link
Collaborator

Yes, I missed that

Don’t bother, I will see to it 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrapping broken for Ninja builds on Apple silicon Macs (arm64)
3 participants