Skip to content

Commit

Permalink
Code changes to support DEBUG compilation based on appBuilder specifi…
Browse files Browse the repository at this point in the history
…cation (#23)

1. component_MOM6.mk sets the MOM6_MAKEOPT environment variable for compile.sh

2. component_CICE.mk sets the CICE_MAKEOPT environment variable for comp_ice.backend
  • Loading branch information
MinsukJi-NOAA authored Jan 21, 2020
1 parent 0ad06e4 commit daae388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/incmake/component_CICE.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CICE_ALL_OPTS=\
$(cice_mk): configure
$(MODULE_LOGIC) ; \
set -eu ; \
export $(CICE_ALL_OPTS) ; \
export $(CICE_ALL_OPTS) $(CICE_MAKEOPT) ; \
cd $(CICE_SRCDIR) ; \
./comp_ice.backend
+$(MODULE_LOGIC) ; cd $(CICE_CAPDIR) ; exec $(MAKE) -f makefile.nuopc \
Expand Down
2 changes: 1 addition & 1 deletion src/incmake/component_MOM6.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MOM6_ALL_OPTS=\

$(mom6_mk): $(fms_mk) configure
-rm -fr $(MOM6_SRCDIR)/exec
$(MODULE_LOGIC) ; export $(MOM6_ALL_OPTS) ; \
$(MODULE_LOGIC) ; export $(MOM6_ALL_OPTS) $(MOM6_MAKEOPT) ; \
set -e ; \
cd $(MOM6_SRCDIR) ; \
./compile.sh --platform $(FULL_MACHINE_ID) --fms-dir "$(FMS_BINDIR)"
Expand Down

0 comments on commit daae388

Please sign in to comment.