Skip to content

Commit

Permalink
Merge branch 'master' into offline-difftest
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf authored Jun 11, 2024
2 parents fe4f9e3 + 42ba1dd commit 5871d97
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 5871d97

Please sign in to comment.