Skip to content

Commit

Permalink
[om] fix nix script
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO authored and sequencer committed Jun 11, 2024
1 parent 8c5b93c commit 42ba1dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nix/t1/om.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@

let
omReaderArgs = lib.filter (s: s != "") [
"run"
"--mlirbc-file"
"${mlirbc}/${mlirbc.elaborateTarget}-${mlirbc.elaborateConfig}.mlirbc"
"${mlirbc}/${mlirbc.elaborateTarget}-${mlirbc.elaborateConfig}-lowered.mlirbc"
"--dump-methods"
];
in
stdenvNoCC.mkDerivation {
Expand All @@ -18,7 +20,7 @@ stdenvNoCC.mkDerivation {
nativeBuildInputs = [ circt omreader ];

buildCommand = ''
omreader ${lib.escapeShellArgs omReaderArgs}
omreader ${lib.escapeShellArgs omReaderArgs} > $out
'';

meta.description = "Call CLI dumps OM properties from MLIR bytecodes";
Expand Down

0 comments on commit 42ba1dd

Please sign in to comment.