From ec583b0435e040155d9f0d4e11ac231cb801432c Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Thu, 21 Aug 2025 07:25:51 -0700 Subject: [PATCH] Disable aarch64 on EPEL Signed-off-by: Tom Rix --- python-torch.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-torch.spec b/python-torch.spec index 6034593..de807e5 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -114,7 +114,14 @@ Patch11: 0001-Add-cmake-variable-USE_ROCM_CK.patch # Patch12: 0001-Use-horrible-dynamo-stub.patch Patch12: 0001-Fix-compilation-and-import-torch-issues-for-cpython-.patch -ExclusiveArch: x86_64 aarch64 +# 2.8 has this problem on aarch64 +# /builddir/build/BUILD/pytorch-v2.8.0/c10/util/FunctionRef.h:45:3: error: unrecognizable insn: +# (insn 3196 3195 3197 78 (set (reg:VNx8BF 1368 [ _494 ]) +# (unspec:VNx8BF [ +# (reg:VNx8BF 1374) +# (reg:VNx8BF 1375) +# ] UNSPEC_IORF)) "/builddir/build/BUILD/pytorch-v2.8.0/aten/src/ATen/cpu/vec/sve/vec_bfloat16.h":228:31 discrim 1 -1 +ExclusiveArch: x86_64 %global toolchain gcc %global _lto_cflags %nil