Fix Makefile.power for xlf

This commit is contained in:
Chip-Kerchner 2023-09-29 08:08:29 -05:00
parent e2ca22f8d8
commit a92dc25fb3
2 changed files with 7 additions and 0 deletions

View File

@ -70,8 +70,12 @@ else
FCOMMON_OPT += -O1 -frecursive -mcpu=power8 -mtune=power8 -fno-fast-math
endif
else
ifeq ($(F_COMPILER), IBM)
FCOMMON_OPT += -O2 -qrecur -qnosave
else
FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -fno-fast-math
endif
endif
else
FCOMMON_OPT += -O2 -Mrecursive
endif

View File

@ -117,6 +117,9 @@ else
vendor=PGI
openmp='-mp'
;;
*xlf*)
vendor=IBM
;;
*)
vendor=G77
openmp=''