-
Notifications
You must be signed in to change notification settings - Fork 0
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
add riscv feature by default for benchmarks #73
Conversation
Did you test that? I don't think all binaries have the |
Do you mean rustc-rv32e-toolchain ? It's part of ci-unified image, so should work theoretically |
No. What I mean is that if you supply |
Then I was probably confused with this statement paritytech/polkadot-sdk#5714 (comment) I thought you can provide feature and if it doesn't exist anywhere it will skip or something. |
Unfortunately, that is not how cargo works. The crate you are building has to have the feature or it will error out. This means only add the feature when building a node that has the feature. Only add the feature when building the package We can add the feature to other nodes, too. But I don't understand the script here. How many different nodes it is building here for? |
I think you can either:
|
The first point is a bit wasteful. The second will not work as it wouldn't pass the feature into the wasm build. For that it has to be defined on the runtime and that one passes it down. I would say we just add the feature to the nodes (last point). But I have to understand which nodes are actually build by this script. |
tl;dr Only add the feature for the kitchensink node and parachain node. Remove for trappist and polkadot. I will do a PR do add this feature to the parachain node. |
Changed my mind. Let's only add it for the kitchensink node. |
Is this now adding riscv by default or does it allow to specify features? |
both ) it adds to dev/kitchensink, but also allows you to provide it --features=blabla |
Do we even need that since this is the deprecated approach and we can do everything with |
good point. I think it's fine, as I hope we anyway deprecate this bot as soon as we confirm /cmd works well for all use-cases, and we just archive this repo |
No description provided.