Skip to content

Commit

Permalink
[nix] bump chisel to master and circt to 1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Apr 19, 2024
1 parent 39cd6a7 commit e1c176a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 14 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion nix/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ in

# Override "nixpkgs" circt with "nixpkgs-for-circt".
# To update the "nixpkgs-for-circt" input, run `nix flake lock --update-input nixpkgs-for-circt`.
circt = self.inputs.nixpkgs-for-circt.legacyPackages."${final.system}".circt;
circt = self.inputs.nixpkgs-for-circt.legacyPackages."${final.system}".circt.overrideAttrs (old: rec {
version = "1.73.0";
src = final.fetchFromGitHub {
owner = "llvm";
repo = "circt";
rev = "firtool-${version}";
sha256 = "sha256-C50PiToXrKf94Vg1yv++3xVhIuCW/KVPs0yLv5Fg0dY=";
fetchSubmodules = true;
};
preConfigure = ''
find ./test -name '*.mlir' -exec sed -i 's|/usr/bin/env|${final.coreutils}/bin/env|g' {} \;
substituteInPlace cmake/modules/GenVersionFile.cmake --replace "unknown git version" "nightly"
'';
});
espresso = final.callPackage ./pkgs/espresso.nix { };
dramsim3 = final.callPackage ./pkgs/dramsim3.nix { };
libspike = final.callPackage ./pkgs/libspike.nix { };
Expand Down
8 changes: 4 additions & 4 deletions nix/t1/_sources/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"chisel": {
"cargoLocks": null,
"date": "2024-03-27",
"date": "2024-04-20",
"extract": null,
"name": "chisel",
"passthru": null,
Expand All @@ -73,11 +73,11 @@
"name": null,
"owner": "chipsalliance",
"repo": "chisel",
"rev": "9177535ff1be47ffd99034bf0154c0f1ec637419",
"sha256": "sha256-smqNuOnmz+MeVGyS7mdIzegniQ/6EJH4CFqK4JntvrI=",
"rev": "30ee35d7a4c3fd3d86b22a53ab60d6025a75c98e",
"sha256": "sha256-OXvENkPlkXvjDPsNNoBNSRSLVHNrHlm6+EqHqGyDRuQ=",
"type": "github"
},
"version": "9177535ff1be47ffd99034bf0154c0f1ec637419"
"version": "30ee35d7a4c3fd3d86b22a53ab60d6025a75c98e"
},
"diplomacy": {
"cargoLocks": null,
Expand Down
8 changes: 4 additions & 4 deletions nix/t1/_sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
};
chisel = {
pname = "chisel";
version = "9177535ff1be47ffd99034bf0154c0f1ec637419";
version = "30ee35d7a4c3fd3d86b22a53ab60d6025a75c98e";
src = fetchFromGitHub {
owner = "chipsalliance";
repo = "chisel";
rev = "9177535ff1be47ffd99034bf0154c0f1ec637419";
rev = "30ee35d7a4c3fd3d86b22a53ab60d6025a75c98e";
fetchSubmodules = false;
sha256 = "sha256-smqNuOnmz+MeVGyS7mdIzegniQ/6EJH4CFqK4JntvrI=";
sha256 = "sha256-OXvENkPlkXvjDPsNNoBNSRSLVHNrHlm6+EqHqGyDRuQ=";
};
date = "2024-03-27";
date = "2024-04-20";
};
diplomacy = {
pname = "diplomacy";
Expand Down
2 changes: 1 addition & 1 deletion nix/t1/nvfetcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fetch.github = "chipsalliance/rocket-chip-inclusive-cache"

[chisel]
src.git = "https://github.com/chipsalliance/chisel"
src.branch = "main"
src.branch = "instantiate-class"
fetch.github = "chipsalliance/chisel"

[rvdecoderdb]
Expand Down
2 changes: 1 addition & 1 deletion nix/t1/t1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let
./../../common.sc
];
};
millDepsHash = "sha256-Ri0aB4SxBdwuNOnBvvsTwVdAnvtiKIW5EMrulDX4sVo=";
millDepsHash = "sha256-rkS/bTDnjnyzdQyTIhfLj3e0mMdDn4fzv/660rO3qYg=";
nativeBuildInputs = [ submodules.setupHook ];
};

Expand Down

0 comments on commit e1c176a

Please sign in to comment.