Skip to content

Commit

Permalink
Merge pull request ESCOMP#13 from fischer-ncar/master
Browse files Browse the repository at this point in the history
Fix for buildlib
  • Loading branch information
dabail10 authored Jan 14, 2019
2 parents 1506fb6 + ee7ebd6 commit 2110761
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cime_config/buildlib
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ def _build_cice():

caseroot, libroot, bldroot = parse_input(sys.argv)

with Case(caseroot) as case:
casetools = case.get_value("CASETOOLS")
gmake_j = case.get_value("GMAKE_J")
gmake = case.get_value("GMAKE")
with Case(caseroot , read_only=False) as case:
srcroot = case.get_value("SRCROOT")

# call buildcpp to set the cppdefs
Expand All @@ -35,6 +32,12 @@ def _build_cice():
except:
raise

with Case(caseroot) as case:
casetools = case.get_value("CASETOOLS")
gmake_j = case.get_value("GMAKE_J")
gmake = case.get_value("GMAKE")
srcroot = case.get_value("SRCROOT")

# create Filepath file
objroot = case.get_value("OBJROOT")
filepath_file = os.path.join(objroot,"ice","obj","Filepath")
Expand Down

0 comments on commit 2110761

Please sign in to comment.