From 531e6f69d57e8ba57a1ed341ba7759fbf5092a1a Mon Sep 17 00:00:00 2001
From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Date: Tue, 11 Jan 2022 17:11:40 +0100
Subject: [PATCH] Philippe 11/01/2022: add MNH_BITREP option for Cray rules

---
 src/Rules.LXcray.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/Rules.LXcray.mk b/src/Rules.LXcray.mk
index 2aca0f7dd..d0b01dac5 100644
--- a/src/Rules.LXcray.mk
+++ b/src/Rules.LXcray.mk
@@ -135,6 +135,14 @@ INC                += -I${GA_ROOT}/include
 LIBS               += -L${GA_ROOT}/lib -larmci -lga -lgfortran
 endif
 #
+# BITREP flags
+#
+#if MNH_BITREP exists => compile with the BITREP library
+MNH_BITREP = YES
+ifeq "$(MNH_BITREP)" "YES"
+CPPFLAGS_MNH += -DMNH_BITREP
+endif
+#
 # LIBTOOLS flags
 #
 #if MNH_TOOLS exists => compile the tools
-- 
GitLab