From 64b9600724d7b3ceb22753edf6fa0c55a06db8d6 Mon Sep 17 00:00:00 2001 From: Ayappan Perumal Date: Fri, 21 Nov 2025 03:17:00 -0600 Subject: [PATCH] Skip C and Fortran compiler combination checks in AIX if NO_FORTRAN or ONLY_CBLAS is set --- Makefile.power | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.power b/Makefile.power index 2309c9d840..1252e2fb53 100644 --- a/Makefile.power +++ b/Makefile.power @@ -147,12 +147,15 @@ endif ifdef BINARY64 +#Skip C/Fortran compiler combination checks in AIX if NO_FORTRAN or ONLY_CBLAS is set +ifeq ($(filter 1,$(NO_FORTRAN) $(ONLY_CBLAS)),) ifeq ($(C_COMPILER)$(F_COMPILER)$(OSNAME), GCCIBMAIX) $(error Using GCC and XLF on AIX is not a supported combination.) endif ifeq ($(C_COMPILER)$(F_COMPILER)$(OSNAME), CLANGGFORTRANAIX) $(error Using Clang and gFortran on AIX is not a supported combination.) endif +endif ifeq ($(OSNAME), AIX) ifeq ($(C_COMPILER), GCC)