From 0299aef5aa5f5e7af319c7a7930eeab73ff3794e Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 1 Oct 2024 23:21:59 +0300 Subject: [PATCH] {sfpi,tt-gcc}: Use gcc 12 versions tt-metal uses gcc 12 --- pkgs/sfpi/default.nix | 6 +++--- pkgs/sfpi/tt-gcc.nix | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/sfpi/default.nix b/pkgs/sfpi/default.nix index 3073d75..fb6f1a5 100644 --- a/pkgs/sfpi/default.nix +++ b/pkgs/sfpi/default.nix @@ -3,14 +3,14 @@ rec { sfpi = pkgs.stdenv.mkDerivation { pname = "sfpi"; - version = "unstable-2024-08-27"; + version = "unstable-2024-09-25"; src = pkgs.fetchFromGitHub { owner = "tenstorrent-metal"; repo = "sfpi"; # One commit before they started to use gcc 12 - rev = "0bc7ecf45c6fe374371cf5a3b384df1eaf7ad5b7"; - hash = "sha256-DHyD8eR0yYWHhnEtrMoax/Eoi/N4GhIUn4q0hwzQoR0="; + rev = "08d39202f283ab9122e162bcead5b7c90014fa86"; + hash = "sha256-EZHUhAqn9/r02IC+TVoxfIyzEctYQKd5azcrXE5DIgg="; }; postPatch = '' diff --git a/pkgs/sfpi/tt-gcc.nix b/pkgs/sfpi/tt-gcc.nix index f46f1f6..f0dd667 100644 --- a/pkgs/sfpi/tt-gcc.nix +++ b/pkgs/sfpi/tt-gcc.nix @@ -2,15 +2,16 @@ pkgs.stdenv.mkDerivation rec { pname = "tt-gcc"; - version = "unstable-2024-08-27"; + version = "unstable-2024-09-25"; src = pkgs.fetchFromGitHub { owner = "tenstorrent-metal"; repo = "sfpi-tt-gcc"; - rev = "c0ed5d7f6f9d7aa24d848a0dc792cc32ca1c9215"; + # https://github.com/tenstorrent/sfpi-tt-gcc/commits/tt-rel/gcc-12.2 + rev = "fad3c23c8972adb739ef62d2f35d770062a7cd73"; # this takes a while and we don't need all of them fetchSubmodules = true; - hash = "sha256-mtq/n1g7hfyjLxVK/VYlYRUrdpbp/gJYrFbqwakWkTI="; + hash = "sha256-X2uVyk4uo0TuDu/2nUXk2v8A4RURvhg0MAoCssAuljI="; }; nativeBuildInputs = with pkgs; [