Add POWER10 compiler options to CCOMMON_OPT rather than COMMON_OPT

This commit is contained in:
Martin Kroeker 2020-10-19 17:43:53 +02:00 committed by GitHub
parent a61c086408
commit fe2a922ada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ USE_OPENMP = 1
endif
ifeq ($(CORE), POWER10)
override COMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
override FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math
CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math
endif
ifeq ($(CORE), POWER9)