Skip to content

Commit e3b3d84

Browse files
authored
Update Sail installation method (#521)
1 parent f6e9876 commit e3b3d84

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
sudo apt-get update
4343
sudo apt-get install -y python3 python3-pip python3-venv
4444
sudo apt-get install -y gcc git autoconf automake libtool curl make unzip
45-
sudo apt-get install autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev libslirp-dev
45+
sudo apt-get install autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev libslirp-dev pkg-config
4646
pip3 install git+https://github.com/riscv/riscof.git
4747
4848
- name: Build RISCV-GNU Toolchain (32 bit)
@@ -83,11 +83,8 @@ jobs:
8383
8484
- name: Install Sail
8585
run: |
86-
sudo apt-get install opam build-essential libgmp-dev z3 pkg-config zlib1g-dev
87-
opam init -y --disable-sandboxing
88-
opam switch create ocaml-base-compiler
89-
opam install sail -y
90-
eval $(opam config env)
86+
sudo mkdir -p /usr/local
87+
curl --location https://github.com/rems-project/sail/releases/download/0.18-linux-binary/sail.tar.gz | sudo tar xvz --directory=/usr/local --strip-components=1
9188
git clone https://github.com/riscv/sail-riscv.git
9289
cd sail-riscv
9390
ARCH=RV32 make

0 commit comments

Comments
 (0)