about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-25 06:46:50 +0200
committerGitHub <noreply@github.com>2023-04-25 06:46:50 +0200
commit2212354865ed06612db04afda3f245f1488302e4 (patch)
treeea453e0a0739a050c76a2866f08a1078f73377cc
parent02196bde0d618546375cd58229af94a892e6a91b (diff)
parentd2516c119198f444fe6e4e0dcf95ffea3b8c8930 (diff)
downloadrust-2212354865ed06612db04afda3f245f1488302e4.tar.gz
rust-2212354865ed06612db04afda3f245f1488302e4.zip
Rollup merge of #110779 - jchzhou:patch, r=albertlarsan68
configure.py: add flag for riscv{64,32}gc musl-root

Add the corresponding flag for detecting `--musl-root-riscv64gc` and `--musl-root-riscv32gc` with ./configure, which is beneficial for downstream Linux distros to create the rust package with the same "recipe" from other architectures.
-rwxr-xr-xsrc/bootstrap/configure.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
index f95a97518c5..dd1851e29a9 100755
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -139,6 +139,10 @@ v("musl-root-mips64", "target.mips64-unknown-linux-muslabi64.musl-root",
   "mips64-unknown-linux-muslabi64 install directory")
 v("musl-root-mips64el", "target.mips64el-unknown-linux-muslabi64.musl-root",
   "mips64el-unknown-linux-muslabi64 install directory")
+v("musl-root-riscv32gc", "target.riscv32gc-unknown-linux-musl.musl-root",
+  "riscv32gc-unknown-linux-musl install directory")
+v("musl-root-riscv64gc", "target.riscv64gc-unknown-linux-musl.musl-root",
+  "riscv64gc-unknown-linux-musl install directory")
 v("qemu-armhf-rootfs", "target.arm-unknown-linux-gnueabihf.qemu-rootfs",
   "rootfs in qemu testing, you probably don't want to use this")
 v("qemu-aarch64-rootfs", "target.aarch64-unknown-linux-gnu.qemu-rootfs",