Skip to content

Commit 2c1d769

Browse files
committed
Update SAIL and RISCOF test repos. Recompile SAIL.
1 parent 11f970d commit 2c1d769

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

doc/development/testing.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,12 +525,17 @@ opam switch create create ocaml-base-compiler.4.08.1
525525
opam install sail -y
526526
```
527527

528-
Then, to actually _rebuild_ the SAIL RISC-V emulators in a _hopefully_ turnkey
528+
Then, to actually _(re)build_ the SAIL RISC-V emulators in a _hopefully_ turnkey
529529
fashion, run `pdm doit _build_sail`. As with other `doit` tasks, this should
530530
not be relied upon for normal development. Note that the actual build requires
531531
`make`; `opam` only handles installing dependencies, and delegates to `make`
532532
for building.
533533

534+
```{hint}
535+
You will probably want to run `pdm doit forget _decompress_sail` afterwards,
536+
so that your fresh new SAIL emulator replaces the old one :).
537+
```
538+
534539
```{todo}
535540
It'd be nice to remove the immediate dependency on `make`. Since we don't want
536541
to _install_ the emulators in the system, it should be in principle possible to

dodo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ def opam_vars(): # noqa: D103
209209
continue
210210
tmp = var.split("=")
211211
k, v = tmp
212-
vars[k] = v
212+
# I don't remember needing this at the end of 2023...
213+
vars[k] = v.strip("'")
213214

214215
return {"env": vars}
215216

tests/riscof/bin/riscv_sim_RV32.gz

-386 KB
Binary file not shown.

tests/riscof/riscv-arch-test

Submodule riscv-arch-test updated 894 files

tests/riscof/sail-riscv

Submodule sail-riscv updated 168 files

0 commit comments

Comments
 (0)