crosvm/tools/install-riscv64-deps
Dennis Kempin 55c171466d Include riscv toolchain in dev container
Updates the riscv install script to use the debian ports repository
to install dependencies.

The container version is upreved to use the newly built image
that includes the changes in this CL.

BUG=b:280448021
TEST=dev_container run_tests -p riscv64
TEST=https://ci.chromium.org/swarming/task/61fca4b26ac4de10

Change-Id: I7dbfac56fd04c8fd9635c981c13dcfcbdad90bcc
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4500611
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2023-05-04 15:21:31 +00:00

17 lines
550 B
Bash
Executable file

#!/usr/bin/env bash
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -ex
# Note: This requires riscv64 packages to be available via apt, which can be obtained
# from the debian-ports repository.
sudo apt-get install --yes --no-install-recommends \
binutils-riscv64-linux-gnu \
g++-riscv64-linux-gnu \
libcap-dev:riscv64 \
libwayland-dev:riscv64 \
qemu-user-static
# Add riscv64gc target to Rust
rustup target add riscv64gc-unknown-linux-gnu