Skip to content

Commit

Permalink
mom5: rename the SPACK_BUILD environment variable (#169)
Browse files Browse the repository at this point in the history
* The variable name $SPACK_BUILD is confusing because we use Spack to build MOM5 regardless of whether that variable is set to true of false.
  • Loading branch information
harshula authored Nov 21, 2024
1 parent c46a39c commit ce7e176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mom5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def build(self, spec, prefix):
build.add_default_env("REPRO", "true")

if self.spec.satisfies("+access-gtracers"):
build.add_default_env("SPACK_BUILD", "true")
build.add_default_env("SPACK_FMS_EXTERNAL", "true")

if not self.spec.satisfies("@access-esm1.5"):
# The MOM5 commit d7ba13a3f364ce130b6ad0ba813f01832cada7a2
Expand Down

0 comments on commit ce7e176

Please sign in to comment.