Skip to content

Commit 627153f

Browse files
authored
Makefile.power: allow using power10 instructions
OpenBLAS uses various power9 and power10 instructions and they fail to build with errors like in #4793. Just allow the latest ISA, it will generate the same code, but actually allow the binaries to be assembled.
1 parent 45e5426 commit 627153f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile.power

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ endif
111111
endif
112112

113113
ifeq ($(C_COMPILER), CLANG)
114-
CCOMMON_OPT += -fno-integrated-as
114+
CCOMMON_OPT += -fno-integrated-as -Wa,-mpower10
115115
endif
116116
# workaround for C->FORTRAN ABI violation in LAPACKE
117117
ifeq ($(F_COMPILER), GFORTRAN)

0 commit comments

Comments
 (0)