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

Update polkavm to the upstream toolchain version #6335

Open
jarkkojs opened this issue Nov 1, 2024 · 1 comment
Open

Update polkavm to the upstream toolchain version #6335

jarkkojs opened this issue Nov 1, 2024 · 1 comment
Labels
I10-unconfirmed Issue might be valid, but it's not yet known.

Comments

@jarkkojs
Copy link

jarkkojs commented Nov 1, 2024

  1. Bump the polkavm(-*)? dependency everywhere.
  2. This will require you to update the executor as it is using polkavm to execute runtimes.(first link)
  3. Update the wasm-builder to use an upstream toolchain (as I did in 6266 for the fixtures). This produces the artifacts used by the executor.

Ideally, wasm-builder could be used to build the test fixtures. However, that is not feasible because it allows only one crate per package. Therefore, a separate build script was implemented in #6266 them.

Relevant paths:

Toolchains:

  • Old: riscv32ema-unknown-none-elf
  • New: riscv32emac-unknown-none-polkavm
@github-actions github-actions bot added the I10-unconfirmed Issue might be valid, but it's not yet known. label Nov 1, 2024
@jarkkojs
Copy link
Author

jarkkojs commented Nov 1, 2024

The first thing I did:

$ git grep -l riscv32ema-unknown-none-elf | xargs sed -i 's/riscv32ema-unknown-none-elf/riscv32emac-unknown-none-polkavm'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I10-unconfirmed Issue might be valid, but it's not yet known.
Projects
None yet
Development

No branches or pull requests

1 participant