{sfpi,tt-gcc}: Use gcc 12 versions

tt-metal uses gcc 12
This commit is contained in:
Artturin 2024-10-01 23:21:59 +03:00
parent 4336994571
commit 0299aef5aa
2 changed files with 7 additions and 6 deletions

View file

@ -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 = ''

View file

@ -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; [