Skip to content

Commit

Permalink
mom5: new switch --no_version is required
Browse files Browse the repository at this point in the history
* The MOM5 commit d7ba13a3f364ce130b6ad0ba813f01832cada7a2
requires the --no_version switch to avoid git hashes being
embedded in the binary.
  • Loading branch information
harshula committed Nov 6, 2023
1 parent 24b02e4 commit cb10821
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/mom5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,16 @@ def build(self, spec, prefix):
if "+optimisation_report" in self.spec:
build.add_default_env("REPORT", "true")

# The MOM5 commit d7ba13a3f364ce130b6ad0ba813f01832cada7a2
# requires the --no_version switch to avoid git hashes being
# embedded in the binary.
build(
"--type",
self._mom_type,
"--platform",
self._platform,
"--no_environ"
"--no_environ",
"--no_version"
)

def install(self, spec, prefix):
Expand Down

0 comments on commit cb10821

Please sign in to comment.