Skip to content

Commit

Permalink
Fix formatting in var/spack/repos/builtin/packages/fms/package.py
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed May 10, 2024
1 parent 4fe137b commit 994b20e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions var/spack/repos/builtin/packages/fms/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ def cmake_args(self):

if self.compiler.name in ["gcc", "clang", "apple-clang"]:
gfortran_major_version = int(
spack.compiler.get_compiler_version_output(self.compiler.fc, "-dumpversion").split(
"."
)[0]
spack.compiler.get_compiler_version_output(
self.compiler.fc, "-dumpversion"
).split(".")[0]
)

if gfortran_major_version >= 10:
Expand Down

0 comments on commit 994b20e

Please sign in to comment.