diff --git a/src/Rules.LXarm.mk b/src/Rules.LXarm.mk index 5ae81163a76f5575199c1553a04821c1ddd95abe..e517a95b0b8641024d15586376df1478a0813cd3 100644 --- a/src/Rules.LXarm.mk +++ b/src/Rules.LXarm.mk @@ -17,9 +17,11 @@ GFV=123 OPT_BASE = -g -fno-backslash #OPT_BASE = -g -fPIC -fno-backslash # -OPT_PERF0 = -O0 -OPT_PERF2 = -O2 -mcpu=thunderx2t99 -OPT_PERF3 = -O3 -mcpu=thunderx2t99 -ffp-contract=fast +OPT_PERF0 = -O0 -mcpu=native +OPT_PERF2 = -O2 -mcpu=native +# -mcpu=thunderx2t99 neoverse-n1 +OPT_PERF3 = -O3 -mcpu=native +#-mcpu=thunderx2t99 -ffp-contract=fast OPT_CHECK = OPT_I8 = -i8 OPT_R8 = -r8 @@ -81,13 +83,18 @@ FX90FLAGS = $(OPT) # # preprocessing flags # -CPP = cpp -P -traditional -Wcomment +#CPP = cpp -P -traditional -Wcomment +CPP = mnh_expand # +CPPFLAGS_C += -DLITTLE_endian CPPFLAGS_SURFEX = CPPFLAGS_SURCOUCHE += -DDEV_NULL CPPFLAGS_RAD = CPPFLAGS_NEWLFI = -DSWAPIO -DLINUX -DLFI_INT=${LFI_INT} CPPFLAGS_MNH = -DMNH -DSFX_MNH +CPPFLAGS_MNH += -imacros MNH_OPENACC_NV_CR.CPP +CPPFLAGS_MNH += -DMNH_EXPAND + ifdef VER_GA CPPFLAGS_SURCOUCHE += -DMNH_GA INC += -I${GA_ROOT}/include @@ -162,3 +169,4 @@ $(OBJS_O0) : OPT = $(OPT_BASE) $(OPT_PERF0) endif endif +SPLL = spll_new