tools/cibuild.sh: Migrate risc-v toolchian from 8.3.0 to 10.2.0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
96ff41d5b2
commit
a3e2b0a992
|
@ -196,10 +196,10 @@ function riscv-gcc-toolchain {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
cd "${prebuilt}"
|
cd "${prebuilt}"
|
||||||
wget --quiet https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-${flavor}.tar.gz
|
wget --quiet https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-${flavor}.tar.gz
|
||||||
tar zxf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-${flavor}.tar.gz
|
tar zxf riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-${flavor}.tar.gz
|
||||||
mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-${flavor} riscv64-unknown-elf-gcc
|
mv riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-${flavor} riscv64-unknown-elf-gcc
|
||||||
rm riscv64-unknown-elf-gcc-8.3.0-2019.08.0-${flavor}.tar.gz
|
rm riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-${flavor}.tar.gz
|
||||||
fi
|
fi
|
||||||
riscv64-unknown-elf-gcc --version
|
riscv64-unknown-elf-gcc --version
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue