Skip to content

GettingStarted.md: A sprinkle of minor improvements #62371

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

Merged
merged 3 commits into from
Dec 8, 2022

Conversation

AnthonyLatsis
Copy link
Collaborator

No description provided.

@@ -222,15 +232,7 @@ Phew, that's a lot to digest! Now let's proceed to the actual build itself!

### The actual build

1. Make sure you have Sccache running.
```sh
sccache --start-server
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this not needed anymore?

Copy link
Collaborator Author

@AnthonyLatsis AnthonyLatsis Dec 3, 2022

Choose a reason for hiding this comment

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

build-script starts sccache for you if you pass --sccache (the invocation in the next step passes it).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We only pass it in the macOS invocation though. On Linux sccache is presented as optional. I should probably add a sentence suggesting to add this option to the Linux invocation if the reader chose to install sccache.

Copy link
Contributor

Choose a reason for hiding this comment

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

build-script starts sccache for you if you pass --sccache (the invocation in the next step passes it).

Ah ok, maybe I just couldn't find it then. To me we were only validating with --show-stats

I should probably add a sentence suggesting to add this option to the Linux invocation if the reader chose to install sccache.

Makes sense

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To me we were only validating with --show-stats

I only just realized what you meant here. It happens --show-stats starts the server implicitly, so we’re covered.

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test

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

Successfully merging this pull request may close these issues.

3 participants