Merge pull request #5543 from ayappanec/AIX-compiler-checks

Skip C and Fortran compiler combination checks in AIX if NO_FORTRAN or ONLY_CBLAS is set
This commit is contained in:
Martin Kroeker
2025-11-23 19:16:12 +01:00
committed by GitHub
+3
View File
@@ -151,12 +151,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)