From 627153fcdb2f9eac8ef23f765bdbbfe24502a3e7 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 6 May 2026 10:42:07 +0000 Subject: [PATCH] Makefile.power: allow using power10 instructions OpenBLAS uses various power9 and power10 instructions and they fail to build with errors like in https://github.com/OpenMathLib/OpenBLAS/issues/4793. Just allow the latest ISA, it will generate the same code, but actually allow the binaries to be assembled. --- Makefile.power | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.power b/Makefile.power index 97a466d138..6c5b556de1 100644 --- a/Makefile.power +++ b/Makefile.power @@ -111,7 +111,7 @@ endif endif ifeq ($(C_COMPILER), CLANG) -CCOMMON_OPT += -fno-integrated-as +CCOMMON_OPT += -fno-integrated-as -Wa,-mpower10 endif # workaround for C->FORTRAN ABI violation in LAPACKE ifeq ($(F_COMPILER), GFORTRAN)