feat(nix): use clang to compile verilator (#91)
To align with
install-verilator.shand our cluster.XiangShan MinimalConfig compile(verilator+cxx) time 13min -> 10min @ 265K
Signed-off-by: ngc7331 ngc7331@outlook.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
XiangShan Frontend Develop Environment
TLDR
使用以下脚本来布署香山开发环境,**部署脚本只需运行一次.**:
This script will setup XiangShan develop environment automatically. Note that
./setup-tools.shandsetup.shonly need to be run ONCE.由于香山
master分支更新频繁,此仓库中的 submodule 默认追踪香山主线分支上的一个稳定提交,并不是香山及其他工具的最新版本。要更新各子仓库到最新版本,可以运行:Due to the frequent updates of the Xiangshan
masterbranch, the submodule in this repo tracks a stable commit on the Xiangshan master branch by default, not the latest version of Xiangshan and the other tools. To update each submodule to the latest version, run:环境部署成功后,每次要使用开发环境时,只需使用以下命令配置环境变量:
After XiangShan Develop Environment setup, use the following script every time before using XiangShan Develop Environment.
Document
详细使用方式请参考完整文档:
For further instructions, see:
XiangShan Frontend Develop Environment Document