使用以下脚本来布署香山开发环境,部署脚本只需运行一次.:
This script will setup XiangShan develop environment automatically. Note that ./setup-tools.sh
and setup.sh
only need to be run ONCE.
git clone https://github.com/OpenXiangShan/xs-env
cd xs-env
sudo -s ./setup-tools.sh # use apt to install dependencies, you may modify it to use different pkg manager
source setup.sh # prepare tools, test develop env using a small project
环境部署成功后,每次要使用开发环境时,只需使用以下命令配置环境变量:
After XiangShan Develop Environment setup, use the following script every time before using XiangShan Develop Environment.
cd xs-env
source ./env.sh # setup XiangShan environment variables
详细使用方式请参考完整文档:
For further instructions, see: