Skip to content

Remove mentions of build-toolchain from README.md #69130

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MaxDesiatov
Copy link
Contributor

While build-toolchain is a script that runs on CI, we haven't found it to be reliable when building locally. Its default settings are sufficiently different from what is recommended in the existing docs/GettingStarted.md guide. We've received multiple reports from potential first-time contributors who are unable to build locally with build-toolchain, but for whom utils/build-script did work.

Additionally, there doesn't seem to be a consensus that building a toolchain package is the best and the quickest way to try out a newly built compiler in Xcode. In a subsequent PR we should recommend the usage of SWIFT_EXEC or downloading a toolchain as a result of @swift-ci build toolchain CI triggers instead.

While `build-toolchain` is a script that runs on CI, we haven't found it to be reliable when building locally. Its default settings are sufficiently different from what is recommended in the existing `docs/GettingStarted.md` guide. We've received multiple reports from potential first-time contributors who are unable to build locally with `build-toolchain`, but for whom `utils/build-script` did work.

Additionally, there doesn't seem to be a consensus that building a toolchain package is the best and the quickest way to try out a newly built compiler in Xcode. In a subsequent PR we should recommend the usage of `SWIFT_EXEC` or downloading a toolchain as a result of `@swift-ci build toolchain` CI triggers instead.
@MaxDesiatov MaxDesiatov changed the title Remove mentions of build-toolchain in README.md Remove mentions of build-toolchain from README.md Oct 11, 2023
@shahmishal
Copy link
Member

shahmishal commented Oct 13, 2023

build-toolchain script is not used in CI, this was added by contributor to help reproduce the toolchain steps locally. I would recommend adding this info somewhere if we don't want it in README. To be clear, I do agree it should not be in the README as most people don't need to build the full toolchain.

@benrimmington
Copy link
Contributor

Lines 47 and 75 will also need updating.

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test and merge

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test linux

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test macos

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) February 25, 2024 08:18
@MaxDesiatov MaxDesiatov disabled auto-merge February 25, 2024 09:29
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.

4 participants