Skip to content

Commit

Permalink
Merge pull request #356 from mattldawson/develop-add-linked-libs
Browse files Browse the repository at this point in the history
add CAM linked lbs to exe build
  • Loading branch information
jedwards4b authored Apr 6, 2023
2 parents b31366f + 4b36eb9 commit d8ddff5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cime_config/buildexe
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def _main_func():
num_esp = case.get_value("NUM_COMP_INST_ESP")
ocn_model = case.get_value("COMP_OCN")
gmake_args = get_standard_makefile_args(case)
link_libs = case.get_value("CAM_LINKED_LIBS", subgroup="build_component_cam")
esmf_aware_threading = case.get_value("ESMF_AWARE_THREADING")

# Determine valid components
Expand Down Expand Up @@ -65,6 +66,9 @@ def _main_func():
if ocn_model == 'mom':
gmake_args += "USE_FMS=TRUE"

if link_libs is not None:
gmake_args += 'USER_SLIBS="{}"'.format(link_libs)

comp_classes = case.get_values("COMP_CLASSES")
for comp in comp_classes:
model = case.get_value("COMP_{}".format(comp))
Expand Down

0 comments on commit d8ddff5

Please sign in to comment.