From 74ef34969cb04786d00c45984bcdc49d095cfb12 Mon Sep 17 00:00:00 2001 From: "Alexander F. Lent" Date: Fri, 21 Aug 2026 13:05:52 -0400 Subject: [PATCH] Build with GCC, fixes build of 2.13.0 on aarch64 --- python-torch.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python-torch.spec b/python-torch.spec index a0530ef..a27141b 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -159,13 +159,7 @@ Source120: https://github.com/meta-pytorch/MSLK/archive/%{mslk_commit}/MSL %global pt_arches x86_64 aarch64 ExclusiveArch: %pt_arches -# Switch to clang temporarily on aarch64, GCC 16 + PyTorch 2.9.1 has problems -# See rhbz#2431943 for more info -%ifarch aarch64 -%global toolchain clang -%else %global toolchain gcc -%endif %global _lto_cflags %nil BuildRequires: cmake