@@ -17,25 +17,22 @@ class Oasis3Mct(MakefilePackage):
1717
1818 maintainers ("harshula" , "penguian" )
1919
20+ version ("stable" , branch = "master" , preferred = True )
2021 version (
2122 "upstream" ,
2223 branch = "OASIS3-MCT_5.0" ,
2324 git = "https://gitlab.com/cerfacs/oasis3-mct.git" ,
2425 )
25- version ("access-om2" , branch = "master" , preferred = True )
26+ # TODO: Remove the "access-om2" once it is no longer being used anywhere
27+ version ("access-om2" , branch = "master" )
2628 version ("access-esm1.5" , branch = "access-esm1.5" )
2729
2830 variant ("deterministic" , default = False , description = "Deterministic build." )
2931 variant ("optimisation_report" , default = False , description = "Generate optimisation reports." )
3032
31- with when ("@:access-esm0,access-esm2:" ):
32- depends_on ("netcdf-fortran@4.5.2:" )
33- # Depend on virtual package "mpi".
34- depends_on ("mpi" )
35- with when ("@access-esm1.5" ):
36- depends_on ("netcdf-fortran@4.5.1:" )
37- # Depend on "openmpi".
38- depends_on ("openmpi" )
33+ depends_on ("netcdf-fortran@4.5.2:" )
34+ # Depend on virtual package "mpi".
35+ depends_on ("mpi" )
3936
4037 phases = ["edit" , "build" , "install" ]
4138
@@ -143,7 +140,7 @@ def edit(self, spec, prefix):
143140f = $(F90)
144141"""
145142
146- config ["gcc" ] = f """
143+ config ["gcc" ] = """
147144# Compiling and other commands
148145MAKE = make
149146F90 = mpif90 -Wall -fallow-argument-mismatch
@@ -187,7 +184,7 @@ def edit(self, spec, prefix):
187184 # Add support for the ifx compiler
188185 config ["oneapi" ] = config ["intel" ]
189186
190- config ["post" ] = f """
187+ config ["post" ] = """
191188f90FLAGS_1 = $(F90FLAGS_1)
192189FFLAGS_1 = $(F90FLAGS_1)
193190fFLAGS_1 = $(F90FLAGS_1)
0 commit comments