Skip to content

Commit

Permalink
mom5: print the generated config file to stdout. (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshula authored Nov 29, 2023
1 parent 1aa76e4 commit 7a499b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/mom5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,10 @@ def edit(self, spec, prefix):
hpm -r -o $*.hpm $*.x
"""

fullconfig = config[self.compiler.name] + config["post"]
print(fullconfig)
with open(makeinc_path, "w") as makeinc:
makeinc.write(config[self.compiler.name] + config["post"])
makeinc.write(fullconfig)

def build(self, spec, prefix):

Expand Down

0 comments on commit 7a499b7

Please sign in to comment.