mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 10:15:19 +00:00
Update install script for working SAIL checkout (current version)
This commit is contained in:
parent
7760d0cf1f
commit
1852304a2a
@ -120,8 +120,8 @@ sudo apt-get install -y perl g++ ccache help2man libgoogle-perftools-dev numactl
|
|||||||
sudo apt-get install -y libfl2 libfl-dev # Ubuntu only (ignore if gives error)
|
sudo apt-get install -y libfl2 libfl-dev # Ubuntu only (ignore if gives error)
|
||||||
cd $RISCV
|
cd $RISCV
|
||||||
git clone https://github.com/verilator/verilator # Only first time
|
git clone https://github.com/verilator/verilator # Only first time
|
||||||
unsetenv VERILATOR_ROOT # For csh; ignore error if on bash
|
# unsetenv VERILATOR_ROOT # For csh; ignore error if on bash
|
||||||
unset VERILATOR_ROOT # For bash
|
unset VERILATOR_ROOT # For bash
|
||||||
cd verilator
|
cd verilator
|
||||||
git pull # Make sure git repository is up-to-date
|
git pull # Make sure git repository is up-to-date
|
||||||
git checkout master # Use development branch (e.g. recent bug fixes)
|
git checkout master # Use development branch (e.g. recent bug fixes)
|
||||||
@ -157,6 +157,8 @@ opam install sail -y
|
|||||||
eval $(opam config env)
|
eval $(opam config env)
|
||||||
git clone https://github.com/riscv/sail-riscv.git
|
git clone https://github.com/riscv/sail-riscv.git
|
||||||
cd sail-riscv
|
cd sail-riscv
|
||||||
|
# For now, use checkout that is stable for Wally
|
||||||
|
git checkout 72b2516d10d472ac77482fd959a9401ce3487f60
|
||||||
make -j ${NUM_THREADS}
|
make -j ${NUM_THREADS}
|
||||||
ARCH=RV32 make -j ${NUM_THREADS}
|
ARCH=RV32 make -j ${NUM_THREADS}
|
||||||
sudo ln -sf $RISCV/sail-riscv/c_emulator/riscv_sim_RV64 /usr/bin/riscv_sim_RV64
|
sudo ln -sf $RISCV/sail-riscv/c_emulator/riscv_sim_RV64 /usr/bin/riscv_sim_RV64
|
||||||
|
Loading…
Reference in New Issue
Block a user