sail-riscv: 0.7 -> 0.8 (#433413)

This commit is contained in:
Wolfgang Walther
2025-10-14 19:15:16 +00:00
committed by GitHub
2 changed files with 6 additions and 15 deletions

View File

@@ -186,6 +186,8 @@
- `hsd` has been upgraded to version 8. See [their changelog](https://github.com/handshake-org/hsd/blob/v8.0.0/docs/release-notes/release-notes-8.x.md) for important instructions before upgrading. - `hsd` has been upgraded to version 8. See [their changelog](https://github.com/handshake-org/hsd/blob/v8.0.0/docs/release-notes/release-notes-8.x.md) for important instructions before upgrading.
- `sail-riscv` 0.8 follows [upstream](https://github.com/riscv/sail-riscv/blob/7cc4620eb1a57bfe04832baccdcf5727e9459bd4/doc/ChangeLog.md) and provides only a single binary, `sail_riscv_sim`.
- `podofo` has been updated from `0.9.8` to `1.0.0`. These releases are by nature very incompatible due to major API changes. The legacy versions can be found under `podofo_0_10` and `podofo_0_9`. - `podofo` has been updated from `0.9.8` to `1.0.0`. These releases are by nature very incompatible due to major API changes. The legacy versions can be found under `podofo_0_10` and `podofo_0_9`.
Changelog: https://github.com/podofo/podofo/blob/1.0.0/CHANGELOG.md, API-Migration-Guide: https://github.com/podofo/podofo/blob/1.0.0/API-MIGRATION.md. Changelog: https://github.com/podofo/podofo/blob/1.0.0/CHANGELOG.md, API-Migration-Guide: https://github.com/podofo/podofo/blob/1.0.0/API-MIGRATION.md.

View File

@@ -7,19 +7,18 @@
pkg-config, pkg-config,
sail, sail,
ninja, ninja,
zlib,
z3, z3,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sail-riscv"; pname = "sail-riscv";
version = "0.7"; version = "0.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "riscv"; owner = "riscv";
repo = "sail-riscv"; repo = "sail-riscv";
rev = version; rev = version;
hash = "sha256-Keu96+yHWUEFO3rRLvF7rzcJmF3y/V/uyK7TIFj0Xw0="; hash = "sha256-50ATe3DQcdyNOqP85mEMyEwxzpBOplzRN9ulaJNo9zo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -30,22 +29,12 @@ stdenv.mkDerivation rec {
sail sail
]; ];
buildInputs = [ buildInputs = [
zlib
gmp gmp
]; ];
strictDeps = true; strictDeps = true;
preBuild = '' # sail-riscv 0.8 fails to install without compressed_changelog
ninja \ ninjaFlags = [ "compressed_changelog" ];
riscv_sim_rv32d \
riscv_sim_rv32d_rvfi \
riscv_sim_rv32f \
riscv_sim_rv32f_rvfi \
riscv_sim_rv64d \
riscv_sim_rv64d_rvfi \
riscv_sim_rv64f \
riscv_sim_rv64f_rvfi
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/riscv/sail-riscv"; homepage = "https://github.com/riscv/sail-riscv";