Skip to content

Commit 7a96908

Browse files
authored
Add -lgomp when IBM xlf is combined with gcc in OPENMP builds
1 parent 4de963d commit 7a96908

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ctest/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ endif
214214
ifeq ($(F_COMPILER), NAG)
215215
CEXTRALIB = -lgomp
216216
endif
217+
ifeq ($(F_COMPILER), IBM)
218+
ifeq ($(C_COMPILER), GCC)
219+
CEXTRALIB += -lgomp
220+
endif
221+
endif
217222
endif
218223

219224
ifeq ($(BUILD_SINGLE),1)

0 commit comments

Comments
 (0)