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

Prestaging for air-gapped bootstrap #83455

Closed
smijolovic opened this issue Mar 25, 2021 · 3 comments
Closed

Prestaging for air-gapped bootstrap #83455

smijolovic opened this issue Mar 25, 2021 · 3 comments
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@smijolovic
Copy link

smijolovic commented Mar 25, 2021

Is there a way to pull the three tar files (rust-std, rustc, cargo) prior to the build stage for bootstrapping in an environment without connectivity?

In bootstrap.py,:
download_stage0

Pulls the three tar files and extracts them. I see that ./x.py accepts stage builds...but is there a way to call download_stage0 to package the tar files for packaging?

@jyn514 jyn514 added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-feature-request Category: A feature request, i.e: not implemented / a PR. labels Mar 25, 2021
@jyn514
Copy link
Member

jyn514 commented Jun 22, 2022

This is pretty easy to add if someone wants to tackle it - add a new argument to bootstrap.py and exit early after

build.download_toolchain()
if it's set.

@rustbot label +E-easy +E-mentor

@rustbot rustbot added E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. labels Jun 22, 2022
@rornic
Copy link

rornic commented Jun 23, 2022

I can pick this up. It'd be my first contribution here.

@rustbot claim

@jyn514
Copy link
Member

jyn514 commented Sep 19, 2022

I'm going to close this until I hear back about whether make prepare does what you want. #98464 (comment)

@jyn514 jyn514 closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants