Add -lgomp when IBM xlf is combined with gcc in OPENMP builds

This commit is contained in:
Martin Kroeker
2023-09-24 10:18:24 +02:00
committed by GitHub
parent 4de963dc17
commit 7a96908d0c

View File

@@ -214,6 +214,11 @@ endif
ifeq ($(F_COMPILER), NAG)
CEXTRALIB = -lgomp
endif
ifeq ($(F_COMPILER), IBM)
ifeq ($(C_COMPILER), GCC)
CEXTRALIB += -lgomp
endif
endif
endif
ifeq ($(BUILD_SINGLE),1)