#!/usr/bin/env bash
mkdir -p sail-riscv
git clone https://fast-mirror.isrs.ac.cn/riscv-toolchains/git/riscv/sail-riscv.git sail-riscv
pushd sail-riscv
git submodule absorbgitdirs
popd
