-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update reference hardware #3564
Conversation
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
0800e1a
to
4240865
Compare
Signed-off-by: bakhtin <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
rustup install nightly-2022-05-18 | ||
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-18 | ||
cargo +nightly-2022-05-18 build --release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we always need to specify a specific rust nightly date? they cannot just always try latest nightly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should say to check the release notes, as the rust versions are pinnned to the release that our clean room machine builds our binaries with that successfully work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the Rust compiler recommendations and suggested to check out the release notes for the exact version if one runs into the compilation errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we use new Rust features almost as quickly as they come out so I think it's probably better to do what Shawn is suggesting: go with the latest nightly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put in in here #3653
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also add a short section on how to run and interpret the ./polkadot benchmark machine
command, so that people can compare their machines with the reference hardware. Besides that, this looks good to me.
rustup install nightly-2022-05-18 | ||
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-18 | ||
cargo +nightly-2022-05-18 build --release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should say to check the release notes, as the rust versions are pinnned to the release that our clean room machine builds our binaries with that successfully work
Signed-off-by: bakhtin <[email protected]>
Signed-off-by: bakhtin <[email protected]>
@DrW3RK should be ready for a review now. Please let us know what you think. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor fixes and suggestions. Hopefully, they did not change the context or mess with the intended ideas.
Signed-off-by: bakhtin <[email protected]>
@DrW3RK I addressed all of your comments. |
Fixup for #3550
TODOs for moved to #3653:
benchmark machine
command