Skip to content

Commit

Permalink
mom5: new switch --no_version is required (#51)
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 authored Nov 6, 2023
1 parent 982807f commit 1123df9
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 @@ -310,12 +310,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 1123df9

Please sign in to comment.