Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CAM linked lbs to exe build #356

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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