From 54edfb12f97a7bab2754ee58a1efffcb9a031232 Mon Sep 17 00:00:00 2001 From: Harshula Jayasuriya Date: Thu, 18 Jul 2024 17:50:35 +1000 Subject: [PATCH] fms: revert changes from d21aa1cc124a8f005c8d400637dc180e6ab85529 --- var/spack/repos/builtin/packages/fms/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/fms/package.py b/var/spack/repos/builtin/packages/fms/package.py index 95465966a5683e..4bfbe8426fd96b 100644 --- a/var/spack/repos/builtin/packages/fms/package.py +++ b/var/spack/repos/builtin/packages/fms/package.py @@ -112,4 +112,8 @@ def cmake_args(self): self.define_from_variant("USE_DEPRECATED_IO", "deprecated_io"), ] + args.append(self.define("CMAKE_C_COMPILER", self.spec["mpi"].mpicc)) + args.append(self.define("CMAKE_CXX_COMPILER", self.spec["mpi"].mpicxx)) + args.append(self.define("CMAKE_Fortran_COMPILER", self.spec["mpi"].mpifc)) + return args