From d34533152164762041e9748b8f02d0f6f0f6975d Mon Sep 17 00:00:00 2001 From: Avimitin Date: Tue, 6 Aug 2024 11:14:35 +0800 Subject: [PATCH] [nix] bump buddy-mlir Signed-off-by: Avimitin --- nix/pkgs/buddy-mlir.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/nix/pkgs/buddy-mlir.nix b/nix/pkgs/buddy-mlir.nix index 8bd03422f..abdae657a 100644 --- a/nix/pkgs/buddy-mlir.nix +++ b/nix/pkgs/buddy-mlir.nix @@ -17,8 +17,8 @@ stdenv.mkDerivation { src = fetchFromGitHub { owner = "buddy-compiler"; repo = "buddy-mlir"; - rev = "ec8a17969b645f0a0c1a822ffb04192b236b5c88"; - hash = "sha256-3ecxei/nkx8sjgVkeQvZMaxr1CQXwhTz8aY1e0I3zBA="; + rev = "be2811cde9158faa0c08ad90801edf5ebfcf8e0e"; + hash = "sha256-5ZFqDZZjMbVoqbEZ1mt1RXY2oR+VSQ6wJ1dQJCGrRC4="; }; unpackPhase = '' # We can only use one-step build now...buddy-mlir have bad build system that always @@ -34,15 +34,6 @@ stdenv.mkDerivation { nativeBuildInputs = [ cmake ninja python3 bintools ]; - prePatch = "pushd ../buddy-mlir"; - patches = [ - (fetchpatch { - url = "https://github.com/buddy-compiler/buddy-mlir/pull/357.patch"; - hash = "sha256-ysPcHAkrFJDtHmWVo35Wz6ullIGsP1EedYdJCq4fRX4="; - }) - ]; - postPatch = "popd"; - cmakeDir = "../llvm"; cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release"