Skip to content

Commit 48e33f2

Browse files
authored
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
2 parents 7cef952 + 64b9600 commit 48e33f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.power

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,15 @@ endif
151151
ifdef BINARY64
152152

153153

154+
#Skip C/Fortran compiler combination checks in AIX if NO_FORTRAN or ONLY_CBLAS is set
155+
ifeq ($(filter 1,$(NO_FORTRAN) $(ONLY_CBLAS)),)
154156
ifeq ($(C_COMPILER)$(F_COMPILER)$(OSNAME), GCCIBMAIX)
155157
$(error Using GCC and XLF on AIX is not a supported combination.)
156158
endif
157159
ifeq ($(C_COMPILER)$(F_COMPILER)$(OSNAME), CLANGGFORTRANAIX)
158160
$(error Using Clang and gFortran on AIX is not a supported combination.)
159161
endif
162+
endif
160163

161164
ifeq ($(OSNAME), AIX)
162165
ifeq ($(C_COMPILER), GCC)

0 commit comments

Comments
 (0)