Unverified Commit 94c52940 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #241654 from sequencer/patch-1

circt: 1.40.0 -> 1.44.0
parents 75113f97 b6465c84
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,12 +13,12 @@ let
in
stdenv.mkDerivation rec {
  pname = "circt";
  version = "1.40.0";
  version = "1.44.0";
  src = fetchFromGitHub {
    owner = "llvm";
    repo = "circt";
    rev = "firtool-${version}";
    sha256 = "sha256-L114Xh0O/Wu8IyrKohxalyXeSe/8oVcAXD4hpa6ocwU=";
    sha256 = "sha256-92gGsuwz1AfQJe1kFsqm/75P+3QuSHzZEUbItOC5nGU=";
    fetchSubmodules = true;
  };

@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
  LIT_FILTER_OUT = if stdenv.cc.isClang then "CIRCT :: Target/ExportSystemC/.*\.mlir" else null;

  preConfigure = ''
    substituteInPlace test/circt-reduce/test/annotation-remover.mlir --replace "/usr/bin/env" "${coreutils}/bin/env"
    find ./test -name '*.mlir' -exec sed -i 's|/usr/bin/env|${coreutils}/bin/env|g' {} \;
  '';

  installPhase = ''