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 toolchain to release 20220210-1 with bitmanip support #10766

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

luismarques
Copy link
Contributor

@luismarques luismarques commented Feb 10, 2022

General toolchain changes

This release updates the meson cross files to make the toolchains more easily configurable.

rv32imcb Tool Versions

@mundaym
Copy link
Contributor

mundaym commented Feb 11, 2022

@luismarques would you mind rebasing this so that CI restarts and marking it as not a draft?

@luismarques luismarques marked this pull request as ready for review February 11, 2022 15:35
@luismarques luismarques requested a review from asb as a code owner February 15, 2022 11:28
@luismarques luismarques changed the title Update toolchain to release 20220210-1 Update toolchain to release 20220210-1 with bitmanip support Feb 15, 2022
@eunchan
Copy link
Contributor

eunchan commented Feb 16, 2022

So, as we use custom risc-v binutils and GCC, should we compile from source?

@mundaym
Copy link
Contributor

mundaym commented Feb 16, 2022

@eunchan The toolchains can be obtained in binary form from https://github.com/lowRISC/lowrisc-toolchains/releases/tag/20220210-1 or yes you can build them from source.

@luismarques
Copy link
Contributor Author

You can use util/get-toolchain.py from the OpenTitan repo to download and install the toolchain. Use the -u option to replace your currently installed one.

@mundaym
Copy link
Contributor

mundaym commented Feb 16, 2022

@luismarques I think we need to manually update the installation guide too (imc -> imcb):

doc/ug/install_instructions/index.md

@eunchan
Copy link
Contributor

eunchan commented Feb 16, 2022

You can use util/get-toolchain.py from the OpenTitan repo to download and install the toolchain. Use the -u option to replace your currently installed one.

The binary is for Ubuntu, right? In Google, Design & Verification team needs to build the tools for CentOS 7. Let me try if the patch works or not. Is there a howto doc for this new patch?

@luismarques
Copy link
Contributor Author

The binary is for Ubuntu, right? In Google, Design & Verification team needs to build the tools for CentOS 7. Let me try if the patch works or not. Is there a howto doc for this new patch?

The toolchain is built on a Centos 6 host, so AFAIK it should work in Centos 6, Centos 7 and Ubuntu.

@eunchan
Copy link
Contributor

eunchan commented Feb 16, 2022

Nevermind. The binary works :)

Copy link
Contributor

@mundaym mundaym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @luismarques. One minor nit in the documentation, feel free to update in a follow up PR.

doc/ug/install_instructions/index.md Outdated Show resolved Hide resolved
This release updates the meson cross files to make the toolchains more
easily configurable. The tool versions for the bitmanip variant are:

- Binutils 2.35
- GCC: 10.2.0
- Clang/LLVM: 13.0.1
- GDB 11.1

- Binutils: `7c9dd840fbb6a1171a51feb08afb859288615137`
  (riscv-binutils-2.35-rvb) with Pirmin's bitmanip 1.00+0.93 PR patch
  (riscvarchive/riscv-binutils-gdb#267).
- GCC: `73055647d33c0b63a3125c372019d1dac0f8ac34` (RISC-V bitmanip fork,
  branch riscv-gcc-10.2.0-rvb, commit 73055647d33 from 2021-07-09)
- Clang/LLVM: 13.0.1
- GDB 11.1

Signed-off-by: Luís Marques <[email protected]>
@mundaym mundaym merged commit 01b2cac into lowRISC:master Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants