From d002953bcc55d33e7482375421c9055097a7bd8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Marques?= <luismarques@lowrisc.org>
Date: Thu, 10 Feb 2022 21:48:11 +0000
Subject: [PATCH] Update toolchain to release 20220210-1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This release updates the meson cross files to make the toolchains more
easily configurable. The tool versions are the same as in the previous
release.

- Binutils 2.35
- GCC: 10.2.0
- Clang/LLVM: `fa038e03504c7d0dfd438b1dfdd6da7081e75617` (2020-05-25)
- GDB 11.1

- Binutils: `7c9dd840fbb6a1171a51feb08afb859288615137`
  (riscv-binutils-2.35-rvb) with Pirmin's bitmanip 1.00+0.93 PR patch
  (https://github.com/riscv-collab/riscv-binutils-gdb/pull/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 <luismarques@lowrisc.org>
---
 azure-pipelines.yml                | 2 +-
 hw/vendor/lowrisc_ibex/ci/vars.yml | 2 +-
 util/container/Dockerfile          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 6035afbd3d4ca..a46e03bdaaee4 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -16,7 +16,7 @@ variables:
   VERIBLE_VERSION: v0.0-1213-g9e5c085
   RUST_VERSION: 1.55.0
   # Release tag from https://github.com/lowRISC/lowrisc-toolchains/releases
-  TOOLCHAIN_VERSION: 20210412-1
+  TOOLCHAIN_VERSION: 20220210-1
   # This controls where builds happen, and gets picked up by build_consts.sh.
   BUILD_ROOT: $(Build.ArtifactStagingDirectory)
   VIVADO_VERSION: "2020.2"
diff --git a/hw/vendor/lowrisc_ibex/ci/vars.yml b/hw/vendor/lowrisc_ibex/ci/vars.yml
index a68fd655611d9..bbbab039c8cbf 100644
--- a/hw/vendor/lowrisc_ibex/ci/vars.yml
+++ b/hw/vendor/lowrisc_ibex/ci/vars.yml
@@ -7,7 +7,7 @@
 # end up as float otherwise).
 variables:
   VERILATOR_VERSION: "4.104"
-  RISCV_TOOLCHAIN_TAR_VERSION: "20210412-1"
+  RISCV_TOOLCHAIN_TAR_VERSION: "20220210-1"
   RISCV_TOOLCHAIN_TAR_VARIANT: "lowrisc-toolchain-gcc-rv32imcb"
   RISCV_COMPLIANCE_GIT_VERSION: "844c6660ef3f0d9b96957991109dfd80cc4938e2"
   VERIBLE_VERSION: "v0.0-1213-g9e5c085"
diff --git a/util/container/Dockerfile b/util/container/Dockerfile
index 17d69fbbbb450..fb7fb37657c68 100644
--- a/util/container/Dockerfile
+++ b/util/container/Dockerfile
@@ -10,7 +10,7 @@ ARG VERILATOR_VERSION=4.210
 ARG OPENOCD_VERSION=0.11.0
 ARG VERIBLE_VERSION=v0.0-1213-g9e5c085
 # The RISCV toolchain version should match the release tag used in GitHub.
-ARG RISCV_TOOLCHAIN_TAR_VERSION=20210412-1
+ARG RISCV_TOOLCHAIN_TAR_VERSION=20220210-1
 ARG RUST_VERSION=1.55.0
 
 # Main container image.