Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
penguian committed Sep 24, 2024
1 parent 4d22b40 commit 793203d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions var/spack/repos/builtin/packages/fiat/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ def cmake_args(self):
self.define_from_variant("ENABLE_FCKIT", "fckit"),
]
if "+mpi" in self.spec:
args.extend([
self.define("CMAKE_C_COMPILER", self.spec["mpi"].mpicc),
self.define("CMAKE_CXX_COMPILER", self.spec["mpi"].mpicxx),
self.define("CMAKE_Fortran_COMPILER", self.spec["mpi"].mpifc)])
args.extend(
[
self.define("CMAKE_C_COMPILER", self.spec["mpi"].mpicc),
self.define("CMAKE_CXX_COMPILER", self.spec["mpi"].mpicxx),
self.define("CMAKE_Fortran_COMPILER", self.spec["mpi"].mpifc)
]
)
return args

0 comments on commit 793203d

Please sign in to comment.